3 * Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
7 #ifndef LDAP_ADD_REQUEST_H
8 #define LDAP_ADD_REQUEST_H
10 #include <LDAPRequest.h>
11 #include <LDAPEntry.h>
13 class LDAPMessageQueue;
15 class LDAPAddRequest : LDAPRequest {
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);
29 #endif // LDAP_ADD_REQUEST_H