ldap_abandon(3)

ldap_abandon3

Abandon an ldap operation in progress

Usage

#include <ldap.h>

int ldap_abandon_ext(

LDAP *ld, Bint msgid, LDAPControl **sctrls, LDAPControl **cctrls );

Library

OpenLDAP LDAP (libldap, -lldap)

Overview

The ldap_abandon_ext() routine is used to send a LDAP Abandon request for an operation in progress. The msgid passed should be the message id of an outstanding LDAP operation, such as returned by ldap_search_ext(3).

ldap_abandon_ext() 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 request to 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() allows server and client controls to be passed in via the sctrls and cctrls parameters, respectively.

ldap_abandon_ext() returns a code indicating success or, in the case of failure, the nature of the failure. See ldap_error(3) for details.

Deprecated interfaces

The ldap_abandon() routine is deprecated in favor of the ldap_abandon_ext() routine.

Acknowledgements

Releases

155 releases since Mac OS X 10.2; the text changed 6 times.

  1. 10.2–10.2.8
  2. 10.3–10.3.9
  3. 10.4–10.4.11
  4. 10.5–10.5.8
  5. 10.6–10.6.8
  6. 10.7–10.7.5
  7. 10.8–26.5

From OpenLDAP 561 in macOS 26.5. Parsed by carta from the page's man source.