diff options
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..4b94648 --- /dev/null +++ b/contrib/ldapc++/src/LDAPExtRequest.h @@ -0,0 +1,28 @@ +// $OpenLDAP$ +/* + * Copyright 2000-2018 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 |