openldap/contrib/ldapc++/src/LDAPModDNRequest.h
Kurt Zeilenga 84d0e26234 Initial check of the LDAP C++ SDK written by Ralf Haferkamp <rhafer@suse.de>
Copyright notices have been adjusted per on-file OpenLDAP Contributor
Assignment Agreement.
2000-09-01 18:46:32 +00:00

30 lines
852 B
C++

/*
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#ifndef LDAP_MOD_DN_REQUEST_H
#define LDAP_MOD_DN_REQUEST_H
#include "LDAPRequest.h"
class LDAPModDNRequest : LDAPRequest {
private:
char *m_dn;
char *m_newRDN;
char *m_newParentDN;
bool m_deleteOld;
public:
LDAPModDNRequest(const LDAPModDNRequest& req);
LDAPModDNRequest(const char *dn, const char *newRDN, bool deleteOld,
const char *newParentDN, const LDAPAsynConnection *connect,
const LDAPConstraints *cons, bool isReferral=false);
virtual ~LDAPModDNRequest();
virtual LDAPMessageQueue* sendRequest();
virtual LDAPRequest* followReferral(LDAPUrlList* urls);
};
#endif // LDAP_MOD_DN_REQUEST_H