openldap/contrib/ldapc++/src/LDAPModDNRequest.h
Ralf Haferkamp 11fbe2a45c - removed char* in favour of string
- extented Referral chasing (loop detection, hop limit, Rebind)
- support for Server Controls
- fixed many bugs and memory leaks
2000-10-03 18:25:34 +00:00

32 lines
901 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 {
public:
LDAPModDNRequest(const LDAPModDNRequest& req);
LDAPModDNRequest(const string& dn, const string& newRDN,
bool deleteOld, const string& newParentDN,
LDAPAsynConnection *connect, const LDAPConstraints *cons,
bool isReferral=false, const LDAPRequest* parent=0);
virtual ~LDAPModDNRequest();
virtual LDAPMessageQueue* sendRequest();
virtual LDAPRequest* followReferral(LDAPMsg* urls);
private:
string m_dn;
string m_newRDN;
string m_newParentDN;
bool m_deleteOld;
};
#endif // LDAP_MOD_DN_REQUEST_H