00001 /* 00002 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. 00003 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file 00004 */ 00005 00006 00007 #ifndef LDAP_SEARCH_RESULT_H 00008 #define LDAP_SEARCH_RESULT_H 00009 00010 #include <LDAPMessage.h> 00011 #include <LDAPEntry.h> 00012 00013 class LDAPRequest; 00014 00019 class LDAPSearchResult : public LDAPMsg{ 00020 public: 00024 LDAPSearchResult(const LDAPRequest *req, LDAPMessage *msg); 00025 00029 LDAPSearchResult(const LDAPSearchResult& res); 00030 00034 virtual ~LDAPSearchResult(); 00035 00039 const LDAPEntry* getEntry() const; 00040 00041 private: 00042 LDAPEntry *entry; 00043 }; 00044 #endif //LDAP_SEARCH_RESULT_H