1 .TH LDAP_DELETE 3 "2008/07/16" "OpenLDAP 2.4.11"
2 .\" $OpenLDAP: pkg/ldap/doc/man/man3/ldap_delete.3,v 1.16.2.3 2008/02/11 23:26:39 kurt Exp $
3 .\" Copyright 1998-2008 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 ldap_delete, ldap_delete_s, ldap_delete_ext, ldap_delete_ext_s \- Perform an LDAP delete operation.
8 OpenLDAP LDAP (libldap, -lldap)
15 int ldap_delete_s(ld, dn)
21 int ldap_delete(ld, dn)
27 int ldap_delete_ext(ld, dn, serverctrls, clientctrls, msgidp)
31 LDAPControl **serverctrls, **clientctrls;
35 int ldap_delete_ext_s(ld, dn, serverctrls, clientctrls)
39 LDAPControl **serverctrls, **clientctrls;
43 routine is used to perform an LDAP delete operation
44 synchronously. It takes \fIdn\fP, the DN of the entry to be deleted.
45 It returns an LDAP error code, indicating the success or failure of the
50 routine is used to perform an LDAP delete operation
51 asynchronously. It takes the same parameters as
53 but returns the message id of the request it initiated. The result of
54 the delete can be obtained by a subsequent call to
59 routine allows server and client controls to be
60 specified to extend the delete request. This routine is asynchronous like
61 ldap_delete(), but its return value is an LDAP error code. It stores the
62 message id of the request in the integer pointed to by msgidp.
65 .B ldap_delete_ext_s()
66 routine is the synchronous version of
67 .BR ldap_delete_ext().
68 It also returns an LDAP error code indicating success
69 or failure of the operation.
72 returns an LDAP error code which can be interpreted
77 returns -1 if something went wrong initiating the request. It returns the
78 non-negative message id of the request if things went ok.
82 .B ldap_delete_ext_s()
83 return some Non-zero value if
84 something went wrong initiating the request, else return 0.
89 .\" Shared Project Acknowledgement Text
90 .B "OpenLDAP Software"
91 is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>.
92 .B "OpenLDAP Software"
93 is derived from University of Michigan LDAP 3.3 Release.