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