diff options
Diffstat (limited to '')
-rw-r--r-- | contrib/ldapc++/src/LDAPCompareRequest.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/ldapc++/src/LDAPCompareRequest.h b/contrib/ldapc++/src/LDAPCompareRequest.h new file mode 100644 index 0000000..f99c8e9 --- /dev/null +++ b/contrib/ldapc++/src/LDAPCompareRequest.h @@ -0,0 +1,31 @@ +// $OpenLDAP$ +/* + * Copyright 2000-2021 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ + +#ifndef LDAP_COMPARE_REQUEST_H +#define LDAP_COMPARE_REQUEST_H + +#include <LDAPRequest.h> + +class LDAPMessageQueue; + +class LDAPCompareRequest : public LDAPRequest { + public : + LDAPCompareRequest(const LDAPCompareRequest& req); + LDAPCompareRequest(const std::string& dn, const LDAPAttribute& attr, + LDAPAsynConnection *connect, const LDAPConstraints *cons, + bool isReferral=false, const LDAPRequest* parent=0); + virtual ~LDAPCompareRequest(); + virtual LDAPMessageQueue* sendRequest(); + virtual LDAPRequest* followReferral(LDAPMsg* urls); + + private : + std::string m_dn; + LDAPAttribute m_attr; + +}; +#endif //LDAP_COMPARE_REQUEST_H + + |