diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 11:11:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 11:11:40 +0000 |
commit | 7731832751ab9f3c6ddeb66f186d3d7fa1934a6d (patch) | |
tree | e91015872543a59be2aad26c2fea02e41b57005d /contrib/ldapc++/src/LDAPModifyRequest.h | |
parent | Initial commit. (diff) | |
download | openldap-7731832751ab9f3c6ddeb66f186d3d7fa1934a6d.tar.xz openldap-7731832751ab9f3c6ddeb66f186d3d7fa1934a6d.zip |
Adding upstream version 2.4.57+dfsg.upstream/2.4.57+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib/ldapc++/src/LDAPModifyRequest.h')
-rw-r--r-- | contrib/ldapc++/src/LDAPModifyRequest.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/ldapc++/src/LDAPModifyRequest.h b/contrib/ldapc++/src/LDAPModifyRequest.h new file mode 100644 index 0000000..9a98a95 --- /dev/null +++ b/contrib/ldapc++/src/LDAPModifyRequest.h @@ -0,0 +1,30 @@ +// $OpenLDAP$ +/* + * Copyright 2000-2021 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ + +#ifndef LDAP_MODIFY_REQUEST_H +#define LDAP_MODIFY_REQUEST_H + +#include <LDAPRequest.h> + +class LDAPMessageQueue; + +class LDAPModifyRequest : LDAPRequest { + private : + std::string m_dn; + LDAPModList *m_modList; + + public: + LDAPModifyRequest(const LDAPModifyRequest& mod); + LDAPModifyRequest(const std::string& dn, const LDAPModList *modList, + LDAPAsynConnection *connect, const LDAPConstraints *cons, + bool isReferral=false, const LDAPRequest* req=0); + virtual ~LDAPModifyRequest(); + virtual LDAPMessageQueue* sendRequest(); + virtual LDAPRequest* followReferral(LDAPMsg* refs); +}; + +#endif // LDAP_MODIFY_REQUEST_H + |