Abandons an asynchronous LDAP operation already in progress using LDAP client or server controls.
#include <ldap.h>
int ldap_abandon_ext (
LDAP *ld,
int msgid,
LDAPControl **serverctrls,
LDAPControl **clientctrls);
(IN) Points to the handle for the LDAP session.
(IN) Specifies the message ID of the asynchronous LDAP operation to abandon.
(IN) Points to a list of LDAP server controls to use with the abandon operation. Use NULL to specify no server controls.
(IN) Points to an array of LDAPControl structures that list the client controls to use with the abandon operation. Use NULL to specify no client controls.
|
0x00 |
LDAP_SUCCESS |
|
Non-zero |
Failure. For a complete list, see |
|
0x51 |
LDAP_SERVER_DOWN |
|
0x53 |
LDAP_ENCODING_ERROR |
|
0x59 |
LDAP_PARAM_ERROR |
|
0x5A |
LDAP_NO_MEMORY |
The msgid parameter must specify a message ID returned by an outstanding asynchronous LDAP operation, such as ldap_search or ldap_modify.
The ldap_abandon function checks to see if the results of the operation has already come in.
If not, it sends an LDAP abandon operation to the LDAP server.
If the results have already come in, the LDAP operation cannot be abandoned.
eDirectory does not currently support any controls to use with an abandon operation.