mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
32 lines
931 B
C++
32 lines
931 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 std::string& dn, const std::string& newRDN,
|
|
bool deleteOld, const std::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:
|
|
std::string m_dn;
|
|
std::string m_newRDN;
|
|
std::string m_newParentDN;
|
|
bool m_deleteOld;
|
|
};
|
|
|
|
#endif // LDAP_MOD_DN_REQUEST_H
|
|
|