]> git.sur5r.net Git - openldap/blob - contrib/ldapc++/src/LDAPModDNRequest.h
Initial check of the LDAP C++ SDK written by Ralf Haferkamp <rhafer@suse.de>
[openldap] / contrib / ldapc++ / src / LDAPModDNRequest.h
1 /*
2  * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5
6 #ifndef LDAP_MOD_DN_REQUEST_H
7 #define LDAP_MOD_DN_REQUEST_H
8
9 #include "LDAPRequest.h"
10
11 class LDAPModDNRequest : LDAPRequest {
12     private:
13         char *m_dn;
14         char *m_newRDN;
15         char *m_newParentDN;
16         bool m_deleteOld;
17
18     public:
19         LDAPModDNRequest(const LDAPModDNRequest& req); 
20         LDAPModDNRequest(const char *dn, const char *newRDN, bool deleteOld, 
21                 const char *newParentDN, const LDAPAsynConnection *connect,
22                 const LDAPConstraints *cons, bool isReferral=false); 
23         virtual ~LDAPModDNRequest(); 
24         
25         virtual LDAPMessageQueue* sendRequest(); 
26         virtual LDAPRequest* followReferral(LDAPUrlList* urls);
27 };    
28
29 #endif // LDAP_MOD_DN_REQUEST_H
30