Back to index

openldap  2.4.31
LDAPModifyRequest.h
Go to the documentation of this file.
00001 // $OpenLDAP$
00002 /*
00003  * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved.
00004  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
00005  */
00006 
00007 #ifndef LDAP_MODIFY_REQUEST_H
00008 #define LDAP_MODIFY_REQUEST_H
00009 
00010 #include <LDAPRequest.h>
00011 
00012 class LDAPMessageQueue;
00013 
00014 class LDAPModifyRequest : LDAPRequest {
00015     private :
00016         std::string m_dn;
00017         LDAPModList *m_modList;
00018 
00019     public:
00020         LDAPModifyRequest(const LDAPModifyRequest& mod);
00021         LDAPModifyRequest(const std::string& dn, const LDAPModList *modList,
00022                 LDAPAsynConnection *connect, const LDAPConstraints *cons,
00023                 bool isReferral=false, const LDAPRequest* req=0);
00024         virtual ~LDAPModifyRequest();
00025         virtual LDAPMessageQueue* sendRequest();
00026         virtual LDAPRequest* followReferral(LDAPMsg* refs);
00027 };
00028 
00029 #endif // LDAP_MODIFY_REQUEST_H
00030