mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 15:19:34 -05:00
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
/*
|
|
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
*/
|
|
|
|
#ifndef LDAP_SEARCH_REQUEST_H
|
|
#define LDAP_SEARCH_REQUEST_H
|
|
|
|
#include <queue>
|
|
#include <LDAPRequest.h>
|
|
|
|
class LDAPSearchReference;
|
|
class LDAPReferral;
|
|
class LDAPUrl;
|
|
|
|
class LDAPSearchRequest : public LDAPRequest{
|
|
|
|
public :
|
|
LDAPSearchRequest(const LDAPSearchRequest& req);
|
|
|
|
LDAPSearchRequest(const string& base, int scope, const string& filter,
|
|
const StringList& attrs, bool attrsOnly,
|
|
LDAPAsynConnection *connect,
|
|
const LDAPConstraints* cons, bool isReferral=false,
|
|
const LDAPRequest* parent=0);
|
|
virtual ~LDAPSearchRequest();
|
|
virtual LDAPMessageQueue* sendRequest();
|
|
virtual LDAPRequest* followReferral(LDAPMsg* ref);
|
|
virtual bool equals(const LDAPRequest* req) const;
|
|
|
|
private :
|
|
string m_base;
|
|
int m_scope;
|
|
string m_filter;
|
|
StringList m_attrs;
|
|
bool m_attrsOnly;
|
|
|
|
//no default constructor
|
|
LDAPSearchRequest(){};
|
|
};
|
|
|
|
#endif //LDAP_SEARCH_REQUEST_H
|