Manpages

Manpage of LDAP_ABANDON

LDAP_ABANDON

Section: C Library Functions (3)
Updated: 22 September 1998
Index
Return to Main Contents
 

NAME

ldap_abandon - Abandon an LDAP operation in progress  

SYNOPSIS

#include <ldap.h>

int ldap_abandon(ld, msgid)
LDAP *ld;
int msgid;
 

DESCRIPTION

The ldap_abandon() routine is used to abandon or cancel an LDAP operation in progress. The msgid passed should be the message id of an outstanding LDAP operation, as returned by ldap_search(3), ldap_modify(3), etc.

ldap_abandon() checks to see if the result of the operation has already come in. If it has, it deletes it from the queue of pending messages. If not, it sends an LDAP abandon operation to the the LDAP server.

The caller can expect that the result of an abandoned operation will not be returned from a future call to ldap_result(3).  

ERRORS

ldap_abandon() returns 0 if everything goes ok, -1 otherwise, setting ld_errno appropriately. See ldap_error(3) for details.  

SEE ALSO

ldap(3), ldap_result(3), ldap_error(3)  

ACKNOWLEDGEMENTS

is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). is derived from University of Michigan LDAP 3.3 Release.


 

Index

NAME
SYNOPSIS
DESCRIPTION
ERRORS
SEE ALSO
ACKNOWLEDGEMENTS

This document was created by man2html, using the manual pages.
Time: 00:57:45 GMT, April 18, 2024