openldap/contrib/ldapc++/src/LDAPCompareRequest.h
Kurt Zeilenga cd1f718f01 Update guide Copyright/License handling
Avoids redundant files.
And update various notices
2011-03-28 18:40:52 -07:00

32 lines
865 B
C++

// $OpenLDAP$
/*
* Copyright 2000-2011 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