]> git.sur5r.net Git - openldap/blob - contrib/ldapc++/src/LDAPSearchReference.h
Use experimental OIDs for saslAuth attributes and hide 'em
[openldap] / contrib / ldapc++ / src / LDAPSearchReference.h
1 /*
2  * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5
6
7 #ifndef LDAP_SEARCH_REFERENCE_H
8 #define LDAP_SEARCH_REFERENCE_H 
9
10 #include <LDAPMessage.h>
11 #include <LDAPUrlList.h>
12
13 class LDAPRequest;
14 class LDAPUrl;
15
16 /**
17  * This class is used to represent Continuation References that were
18  * returned during a SEARCH-Operation.
19  */
20 class LDAPSearchReference : public LDAPMsg{
21
22     public :
23         /**
24          * Constructor that create an object from the C-API structures
25          */
26         LDAPSearchReference(const LDAPRequest* req, LDAPMessage* msg);
27
28         /**
29          * The Destructor
30          */
31         ~LDAPSearchReference();
32
33         /**
34          * @returns The destination URLs that were send with this message
35          */
36         const LDAPUrlList& getUrls() const;
37
38     private :
39         LDAPUrlList m_urlList;
40         LDAPSearchReference();
41 };
42
43
44
45 #endif //LDAP_SEARCH_REFERENCE_H