Back to index

openldap  2.4.31
LDAPExtResult.h
Go to the documentation of this file.
00001 // $OpenLDAP$
00002 /*
00003  * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved.
00004  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
00005  */
00006 
00007 #ifndef LDAP_EXT_RESULT_H
00008 #define LDAP_EXT_RESULT_H
00009 
00010 #include <ldap.h>
00011 
00012 #include <LDAPResult.h>
00013 
00014 class LDAPRequest;
00015 
00020 class LDAPExtResult : public LDAPResult {
00021     public :
00026         LDAPExtResult(const LDAPRequest* req, LDAPMessage* msg);
00027 
00031         virtual ~LDAPExtResult();
00032 
00037         const std::string& getResponseOid() const;
00038 
00043         const std::string& getResponse() const;
00044 
00045     private:
00046         std::string m_oid;
00047         std::string m_data;
00048 };
00049 
00050 #endif // LDAP_EXT_RESULT_H