3 * Copyright 2000-2016 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
7 #ifndef LDAP_SEARCH_REQUEST_H
8 #define LDAP_SEARCH_REQUEST_H
11 #include <LDAPRequest.h>
13 class LDAPSearchReference;
17 class LDAPSearchRequest : public LDAPRequest{
20 LDAPSearchRequest(const LDAPSearchRequest& req);
22 LDAPSearchRequest(const std::string& base, int scope, const std::string& filter,
23 const StringList& attrs, bool attrsOnly,
24 LDAPAsynConnection *connect,
25 const LDAPConstraints* cons, bool isReferral=false,
26 const LDAPRequest* parent=0);
27 virtual ~LDAPSearchRequest();
28 virtual LDAPMessageQueue* sendRequest();
29 virtual LDAPRequest* followReferral(LDAPMsg* ref);
30 virtual bool equals(const LDAPRequest* req) const;
39 //no default constructor
40 LDAPSearchRequest(){};
43 #endif //LDAP_SEARCH_REQUEST_H