diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:35:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:35:32 +0000 |
commit | 5ea77a75dd2d2158401331879f3c8f47940a732c (patch) | |
tree | d89dc06e9f4850a900f161e25f84e922c4f86cc8 /contrib/ldapc++/src/LDAPSearchReference.h | |
parent | Initial commit. (diff) | |
download | openldap-upstream/2.5.13+dfsg.tar.xz openldap-upstream/2.5.13+dfsg.zip |
Adding upstream version 2.5.13+dfsg.upstream/2.5.13+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib/ldapc++/src/LDAPSearchReference.h')
-rw-r--r-- | contrib/ldapc++/src/LDAPSearchReference.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/contrib/ldapc++/src/LDAPSearchReference.h b/contrib/ldapc++/src/LDAPSearchReference.h new file mode 100644 index 0000000..209ae33 --- /dev/null +++ b/contrib/ldapc++/src/LDAPSearchReference.h @@ -0,0 +1,46 @@ +// $OpenLDAP$ +/* + * Copyright 2000-2022 The 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 |