blob: d45c6a2fafc81ae553c08a77a96d418927d96a43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// $OpenLDAP$
/*
* Copyright 2000-2022 The 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
|