00001 /* 00002 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. 00003 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file 00004 */ 00005 00006 #ifndef LDAP_SEARCH_RESULTS_H 00007 #define LDAP_SEARCH_RESULTS_H 00008 00009 #include <LDAPEntry.h> 00010 #include <LDAPEntryList.h> 00011 #include <LDAPMessage.h> 00012 #include <LDAPMessageQueue.h> 00013 #include <LDAPReferenceList.h> 00014 #include <LDAPSearchReference.h> 00015 00016 class LDAPResult; 00017 00021 class LDAPSearchResults{ 00022 public: 00026 LDAPSearchResults(); 00027 00035 LDAPResult* readMessageQueue(LDAPMessageQueue* msg); 00036 00046 LDAPEntry* getNext(); 00047 private : 00048 LDAPEntryList entryList; 00049 LDAPReferenceList refList; 00050 LDAPEntryList::const_iterator entryPos; 00051 LDAPReferenceList::const_iterator refPos; 00052 }; 00053 #endif //LDAP_SEARCH_RESULTS_H 00054 00055