2 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 #ifndef LDAP_SEARCH_REQUEST_H
7 #define LDAP_SEARCH_REQUEST_H
10 #include <LDAPRequest.h>
12 class LDAPSearchReference;
16 class LDAPSearchRequest : public LDAPRequest{
19 LDAPSearchRequest(const LDAPSearchRequest& req);
21 LDAPSearchRequest(const std::string& base, int scope, const std::string& filter,
22 const StringList& attrs, bool attrsOnly,
23 LDAPAsynConnection *connect,
24 const LDAPConstraints* cons, bool isReferral=false,
25 const LDAPRequest* parent=0);
26 virtual ~LDAPSearchRequest();
27 virtual LDAPMessageQueue* sendRequest();
28 virtual LDAPRequest* followReferral(LDAPMsg* ref);
29 virtual bool equals(const LDAPRequest* req) const;
38 //no default constructor
39 LDAPSearchRequest(){};
42 #endif //LDAP_SEARCH_REQUEST_H