openldap/contrib/ldapc++/src/LDAPExtRequest.h
Ralf Haferkamp 11fbe2a45c - removed char* in favour of string
- extented Referral chasing (loop detection, hop limit, Rebind)
- support for Server Controls
- fixed many bugs and memory leaks
2000-10-03 18:25:34 +00:00

27 lines
747 B
C++

/*
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#ifndef LDAP_EXT_REQUEST_H
#define LDAP_EXT_REQUEST_H
#include "LDAPRequest.h"
class LDAPExtRequest : LDAPRequest {
public:
LDAPExtRequest(const LDAPExtRequest& req);
LDAPExtRequest(const string& oid, const string& data,
LDAPAsynConnection *connect, const LDAPConstraints *cons,
bool isReferral=false, const LDAPRequest* parent=0);
virtual ~LDAPExtRequest();
virtual LDAPMessageQueue* sendRequest();
virtual LDAPRequest* followReferral(LDAPMsg* urls);
private:
string m_oid;
string m_data;
};
#endif // LDAP_EXT_REQUEST_H