Debian Codegraph @

contrib/ldapc++/src/LDAPExtRequest.h

raw
1 // $OpenLDAP$
2 /*
3 * Copyright 2000-2024 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5 */
6
7 #ifndef LDAP_EXT_REQUEST_H
8 #define LDAP_EXT_REQUEST_H
9
10 #include <LDAPRequest.h>
11
12 class LDAPExtRequest : LDAPRequest {
13
14 public:
15 LDAPExtRequest(const LDAPExtRequest& req);
16 LDAPExtRequest(const std::string& oid, const std::string& data,
17 LDAPAsynConnection *connect, const LDAPConstraints *cons,
18 bool isReferral=false, const LDAPRequest* parent=0);
19 virtual ~LDAPExtRequest();
20 virtual LDAPMessageQueue* sendRequest();
21 virtual LDAPRequest* followReferral(LDAPMsg* urls);
22
23 private:
24 std::string m_oid;
25 std::string m_data;
26 };
27
28 #endif // LDAP_EXT_REQUEST_H