1 /* $NetBSD: LDAPDeleteRequest.h,v 1.3 2021/08/14 16:14:49 christos Exp $ */ 2 3 // $OpenLDAP$ 4 /* 5 * Copyright 2000-2021 The OpenLDAP Foundation, All Rights Reserved. 6 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file 7 */ 8 9 #ifndef LDAP_DELETE_REQUEST_H 10 #define LDAP_DELETE_REQUEST_H 11 12 #include <LDAPRequest.h> 13 class LDAPMessageQueue; 14 15 class LDAPDeleteRequest : public LDAPRequest{ 16 public : 17 LDAPDeleteRequest(const LDAPDeleteRequest& req); 18 LDAPDeleteRequest(const std::string& dn, LDAPAsynConnection *connect, 19 const LDAPConstraints *cons, bool isReferral=false, 20 const LDAPRequest* parent=0); 21 virtual ~LDAPDeleteRequest(); 22 virtual LDAPMessageQueue* sendRequest(); 23 virtual LDAPRequest* followReferral(LDAPMsg* refs); 24 25 private : 26 std::string m_dn; 27 }; 28 #endif //LDAP_DELETE_REQUEST_H 29