Seth Woolley's Man Viewer

ldap_abandon(3) - ldap_abandon, ldap_abandon_ext - Abandon an LDAP operation in progress - man 3 ldap_abandon

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

LDAP_ABANDON(3)                                                LDAP_ABANDON(3)

       ldap_abandon, ldap_abandon_ext - Abandon an LDAP operation in(1,8) progress

       OpenLDAP LDAP (libldap, -lldap)

       #include <ldap.h>

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

       int ldap_abandon_ext(LDAP *ld(1,8), int msgid,
              LDAPControl *sctrls[], LDAPControl *cctrls[]);

       The  ldap_abandon() routine is used to abandon or cancel an LDAP opera-
       tion in(1,8) progress.  The msgid passed should be the message id of an out-
       standing LDAP operation, as returned by ldap_search(3), ldap_modify(3),

       ldap_abandon() checks to see if(3,n) the result of the operation has already
       come  in.  If it has, it deletes it from the queue(1,3) 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).

       ldap_abandon_ext()  is  equivalent  to  ldap_abandon()  except  that it
       allows server and client controls to be passed in(1,8)  sctrls  and  cctrls,

       ldap_abandon()  returns  0 if(3,n) everything goes ok, -1 otherwise, setting
       ld_errno with an appropriate LDAP error(8,n) code.

       ldap_abandon_ext() directly returns an LDAP error(8,n) code indicating  suc-
       cess or failure of the operation.

       See ldap_error(3) for details.

       ldap(3,5,n)(3), ldap_result(3), ldap_error(3)

       OpenLDAP   is   developed   and  maintained  by  The  OpenLDAP  Project
       (  OpenLDAP is  derived  from  University  of
       Michigan LDAP 3.3 Release.

OpenLDAP LDVERSION                RELEASEDATE                  LDAP_ABANDON(3)

References for this manual (incoming links)