Back to index

openldap  2.4.31
LDAPAddRequest.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_ADD_REQUEST_H
00008 #define  LDAP_ADD_REQUEST_H
00009 
00010 #include <LDAPRequest.h>
00011 #include <LDAPEntry.h>
00012 
00013 class LDAPMessageQueue;
00014 
00015 class LDAPAddRequest : LDAPRequest {
00016     public:
00017         LDAPAddRequest(const LDAPAddRequest& req);
00018         LDAPAddRequest(const LDAPEntry* entry, 
00019                 LDAPAsynConnection *connect,
00020                 const LDAPConstraints *cons, bool isReferral=false, 
00021                 const LDAPRequest* parent=0);
00022         virtual ~LDAPAddRequest();
00023         virtual LDAPMessageQueue* sendRequest();
00024         virtual LDAPRequest* followReferral(LDAPMsg* refs);
00025     private:
00026         LDAPEntry* m_entry;
00027 
00028 };
00029 #endif // LDAP_ADD_REQUEST_H
00030