1 /* $NetBSD: LDAPExtRequest.h,v 1.1.1.2 2010/03/08 02:14:20 lukem Exp $ */ 2 3 // OpenLDAP: pkg/ldap/contrib/ldapc++/src/LDAPExtRequest.h,v 1.4.10.1 2008/04/14 23:09:26 quanah Exp 4 /* 5 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. 6 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file 7 */ 8 9 #ifndef LDAP_EXT_REQUEST_H 10 #define LDAP_EXT_REQUEST_H 11 12 #include <LDAPRequest.h> 13 14 class LDAPExtRequest : LDAPRequest { 15 16 public: 17 LDAPExtRequest(const LDAPExtRequest& req); 18 LDAPExtRequest(const std::string& oid, const std::string& data, 19 LDAPAsynConnection *connect, const LDAPConstraints *cons, 20 bool isReferral=false, const LDAPRequest* parent=0); 21 virtual ~LDAPExtRequest(); 22 virtual LDAPMessageQueue* sendRequest(); 23 virtual LDAPRequest* followReferral(LDAPMsg* urls); 24 25 private: 26 std::string m_oid; 27 std::string m_data; 28 }; 29 30 #endif // LDAP_EXT_REQUEST_H 31