mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
47 lines
968 B
C++
47 lines
968 B
C++
// $OpenLDAP$
|
|
/*
|
|
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
*/
|
|
|
|
|
|
#ifndef LDAP_SEARCH_REFERENCE_H
|
|
#define LDAP_SEARCH_REFERENCE_H
|
|
|
|
#include <LDAPMessage.h>
|
|
#include <LDAPUrlList.h>
|
|
|
|
class LDAPRequest;
|
|
class LDAPUrl;
|
|
|
|
/**
|
|
* This class is used to represent Continuation References that were
|
|
* returned during a SEARCH-Operation.
|
|
*/
|
|
class LDAPSearchReference : public LDAPMsg{
|
|
|
|
public :
|
|
/**
|
|
* Constructor that create an object from the C-API structures
|
|
*/
|
|
LDAPSearchReference(const LDAPRequest* req, LDAPMessage* msg);
|
|
|
|
/**
|
|
* The Destructor
|
|
*/
|
|
~LDAPSearchReference();
|
|
|
|
/**
|
|
* @returns The destination URLs that were send with this message
|
|
*/
|
|
const LDAPUrlList& getUrls() const;
|
|
|
|
private :
|
|
LDAPUrlList m_urlList;
|
|
LDAPSearchReference();
|
|
};
|
|
|
|
|
|
|
|
#endif //LDAP_SEARCH_REFERENCE_H
|