1LDAP_ABANDON(3)            Library Functions Manual            LDAP_ABANDON(3)
2
3
4

NAME

6       ldap_abandon_ext - Abandon an LDAP operation in progress
7

LIBRARY

9       OpenLDAP LDAP (libldap, -lldap)
10

SYNOPSIS

12       #include <ldap.h>
13
14       int ldap_abandon_ext(
15              LDAP *ld,
16              Bint msgid,
17              LDAPControl **sctrls,
18              LDAPControl **cctrls );
19

DESCRIPTION

21       The  ldap_abandon_ext()  routine is used to send a LDAP Abandon request
22       for an operation in progress.  The msgid passed should be  the  message
23       id   of   an   outstanding   LDAP   operation,   such  as  returned  by
24       ldap_search_ext(3).
25
26       ldap_abandon_ext() checks to see if the result  of  the  operation  has
27       already  come  in.   If it has, it deletes it from the queue of pending
28       messages.  If not, it sends an LDAP abandon request to the LDAP server.
29
30       The caller can expect that the result of an  abandoned  operation  will
31       not be returned from a future call to ldap_result(3).
32
33       ldap_abandon_ext()  allows  server  and client controls to be passed in
34       via the sctrls and cctrls parameters, respectively.
35
36       ldap_abandon_ext() returns a code indicating success or, in the case of
37       failure, the nature of the failure.  See ldap_error(3) for details.
38

DEPRECATED INTERFACES

40       The  ldap_abandon()  routine  is  deprecated in favor of the ldap_aban‐
41       don_ext() routine.
42
43       Deprecated interfaces generally  remain  in  the  library.   The  macro
44       LDAP_DEPRECATED can be defined to a non-zero value (e.g., -DLDAP_DEPRE‐
45       CATED=1) when compiling program designed to use deprecated  interfaces.
46       It is recommended that developers writing new programs, or updating old
47       programs, avoid  use  of  deprecated  interfaces.   Over  time,  it  is
48       expected  that  documentation (and, eventually, support) for deprecated
49       interfaces to be eliminated.
50
51

SEE ALSO

53       ldap(3), ldap_error(3), ldap_result(3), ldap_search_ext(3)
54

ACKNOWLEDGEMENTS

56       OpenLDAP Software is developed and maintained by The  OpenLDAP  Project
57       <http://www.openldap.org/>.   OpenLDAP Software is derived from Univer‐
58       sity of Michigan LDAP 3.3 Release.
59
60
61
62
63OpenLDAP 2.4.44                   2016/02/05                   LDAP_ABANDON(3)
Impressum