MAN page from RedHat Other ldap-devel-3.3-3.i386.rpm
LDAP_DELETE
Section: C Library Functions (3)
Updated: 15 November 1994
Index NAME
ldap_delete, ldap_delete_s - Perform an LDAP delete operation
SYNOPSIS
#include <lber.h>#include <ldap.h>int ldap_delete_s(ld, dn)LDAP *ld;char *dn;int ldap_delete(ld, dn)LDAP *ld;char *dn;
DESCRIPTION
The
ldap_delete_s()routine is used to perform an LDAP delete operationsynchronously. It takes
dn, the DN of the entry to be deleted.It returns an LDAP error code, indicating the success or failure of theoperation.
Theldap_delete()routine is used to perform an LDAP delete operationasynchronously. It takes the same parameters asldap_delete_s(),but returns the message id of the request it initiated. The result ofthe delete can be obtained by a subsequent call toldap_result(3).
ERRORS
ldap_delete_s()returns an LDAP error code which can be interpretedby calling one of
ldap_perror(3)and friends.
ldap_delete()returns -1 if something went wrong initiating the request. It returns thenon-negative message id of the request if things went ok.
SEE ALSO
ldap(3),ldap_error(3)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- ERRORS
- SEE ALSO
This document was created byman2html,using the manual pages.