00001 // $OpenLDAP$ 00002 /* 00003 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. 00004 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file 00005 */ 00006 00007 #ifndef LDAP_EXT_REQUEST_H 00008 #define LDAP_EXT_REQUEST_H 00009 00010 #include <LDAPRequest.h> 00011 00012 class LDAPExtRequest : LDAPRequest { 00013 00014 public: 00015 LDAPExtRequest(const LDAPExtRequest& req); 00016 LDAPExtRequest(const std::string& oid, const std::string& data, 00017 LDAPAsynConnection *connect, const LDAPConstraints *cons, 00018 bool isReferral=false, const LDAPRequest* parent=0); 00019 virtual ~LDAPExtRequest(); 00020 virtual LDAPMessageQueue* sendRequest(); 00021 virtual LDAPRequest* followReferral(LDAPMsg* urls); 00022 00023 private: 00024 std::string m_oid; 00025 std::string m_data; 00026 }; 00027 00028 #endif // LDAP_EXT_REQUEST_H