diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:35:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:35:32 +0000 |
commit | 5ea77a75dd2d2158401331879f3c8f47940a732c (patch) | |
tree | d89dc06e9f4850a900f161e25f84e922c4f86cc8 /contrib/ldapc++/src/LDAPExtRequest.h | |
parent | Initial commit. (diff) | |
download | openldap-upstream.tar.xz openldap-upstream.zip |
Adding upstream version 2.5.13+dfsg.upstream/2.5.13+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib/ldapc++/src/LDAPExtRequest.h')
-rw-r--r-- | contrib/ldapc++/src/LDAPExtRequest.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/contrib/ldapc++/src/LDAPExtRequest.h b/contrib/ldapc++/src/LDAPExtRequest.h new file mode 100644 index 0000000..6f9c9bc --- /dev/null +++ b/contrib/ldapc++/src/LDAPExtRequest.h @@ -0,0 +1,28 @@ +// $OpenLDAP$ +/* + * Copyright 2000-2022 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ + +#ifndef LDAP_EXT_REQUEST_H +#define LDAP_EXT_REQUEST_H + +#include <LDAPRequest.h> + +class LDAPExtRequest : LDAPRequest { + + public: + LDAPExtRequest(const LDAPExtRequest& req); + LDAPExtRequest(const std::string& oid, const std::string& data, + LDAPAsynConnection *connect, const LDAPConstraints *cons, + bool isReferral=false, const LDAPRequest* parent=0); + virtual ~LDAPExtRequest(); + virtual LDAPMessageQueue* sendRequest(); + virtual LDAPRequest* followReferral(LDAPMsg* urls); + + private: + std::string m_oid; + std::string m_data; +}; + +#endif // LDAP_EXT_REQUEST_H |