// $OpenLDAP$ /* * Copyright 2000-2018 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ #ifndef LDAP_ADD_REQUEST_H #define LDAP_ADD_REQUEST_H #include #include class LDAPMessageQueue; class LDAPAddRequest : LDAPRequest { public: LDAPAddRequest(const LDAPAddRequest& req); LDAPAddRequest(const LDAPEntry* entry, LDAPAsynConnection *connect, const LDAPConstraints *cons, bool isReferral=false, const LDAPRequest* parent=0); virtual ~LDAPAddRequest(); virtual LDAPMessageQueue* sendRequest(); virtual LDAPRequest* followReferral(LDAPMsg* refs); private: LDAPEntry* m_entry; }; #endif // LDAP_ADD_REQUEST_H