]> git.sur5r.net Git - openldap/blob - contrib/ldapc++/src/LDAPAddRequest.h
4cac9416cd42fef3e5c061b814a03850fc467a51
[openldap] / contrib / ldapc++ / src / LDAPAddRequest.h
1 // $OpenLDAP$
2 /*
3  * Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6
7 #ifndef LDAP_ADD_REQUEST_H
8 #define  LDAP_ADD_REQUEST_H
9
10 #include <LDAPRequest.h>
11 #include <LDAPEntry.h>
12
13 class LDAPMessageQueue;
14
15 class LDAPAddRequest : LDAPRequest {
16     public:
17         LDAPAddRequest(const LDAPAddRequest& req);
18         LDAPAddRequest(const LDAPEntry* entry, 
19                 LDAPAsynConnection *connect,
20                 const LDAPConstraints *cons, bool isReferral=false, 
21                 const LDAPRequest* parent=0);
22         virtual ~LDAPAddRequest();
23         virtual LDAPMessageQueue* sendRequest();
24         virtual LDAPRequest* followReferral(LDAPMsg* refs);
25     private:
26         LDAPEntry* m_entry;
27
28 };
29 #endif // LDAP_ADD_REQUEST_H
30