2 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 #ifndef LDAP_MOD_DN_REQUEST_H
7 #define LDAP_MOD_DN_REQUEST_H
9 #include <LDAPRequest.h>
11 class LDAPModDNRequest : LDAPRequest {
14 LDAPModDNRequest(const LDAPModDNRequest& req);
15 LDAPModDNRequest(const std::string& dn, const std::string& newRDN,
16 bool deleteOld, const std::string& newParentDN,
17 LDAPAsynConnection *connect, const LDAPConstraints *cons,
18 bool isReferral=false, const LDAPRequest* parent=0);
19 virtual ~LDAPModDNRequest();
21 virtual LDAPMessageQueue* sendRequest();
22 virtual LDAPRequest* followReferral(LDAPMsg* urls);
27 std::string m_newParentDN;
31 #endif // LDAP_MOD_DN_REQUEST_H