mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
2ab8810555
================ Written by Hallvard B. Furuseth and placed into the public domain. This software is not subject to any license of the University of Oslo. ================ Small changes: - Fix typo slapd_meta -> slapd-meta in slapd-meta(5). - Add slapd-dnssrv(5) to SEE ALSO in slapd.conf(5). - Add descriptions of the files in FILES sections. - Add $HOME/.udrc to FILES in ud(1) and ud.conf(5). - Add ldaprc (without ".") and ENVIRONMENT VARIABLES in ldap.conf(5). - Change manpage references to proper ".BR name (section)". Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.
66 lines
1.8 KiB
Groff
66 lines
1.8 KiB
Groff
.TH LDAP_ABANDON 3 "13 January 2002" "OpenLDAP LDVERSION"
|
|
.\" $OpenLDAP$
|
|
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
|
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
|
.SH NAME
|
|
ldap_abandon, ldap_abandon_ext \- Abandon an LDAP operation in progress
|
|
.SH SYNOPSIS
|
|
.nf
|
|
.B #include <ldap.h>
|
|
.sp
|
|
.BI "int ldap_abandon(LDAP *" ld ", int " msgid ");"
|
|
.sp
|
|
.BI "int ldap_abandon_ext(LDAP *" ld ", int " msgid ","
|
|
.RS
|
|
.BI "LDAPControl *" sctrls "[], LDAPControl *" cctrls "[]);"
|
|
.fi
|
|
.SH DESCRIPTION
|
|
The
|
|
.B ldap_abandon()
|
|
routine is used to abandon or cancel an LDAP
|
|
operation in progress. The \fImsgid\fP passed should be the
|
|
message id of an outstanding LDAP operation, as returned by
|
|
.BR ldap_search (3),
|
|
.BR ldap_modify (3),
|
|
etc.
|
|
.LP
|
|
.BR 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.
|
|
.LP
|
|
The caller can expect that the result of an abandoned operation
|
|
will not be returned from a future call to
|
|
.BR ldap_result (3).
|
|
.LP
|
|
.B ldap_abandon_ext()
|
|
is equivalent to
|
|
.B ldap_abandon()
|
|
except that it allows server and client controls to be passed
|
|
in
|
|
.I sctrls
|
|
and
|
|
.IR cctrls ,
|
|
respectively.
|
|
.SH ERRORS
|
|
.B ldap_abandon()
|
|
returns 0 if everything goes ok, -1 otherwise,
|
|
setting \fIld_errno\fP with an appropriate LDAP error code.
|
|
.LP
|
|
.B ldap_abandon_ext()
|
|
directly returns an LDAP error code indicating success or failure of the
|
|
operation.
|
|
.LP
|
|
See
|
|
.BR ldap_error (3)
|
|
for details.
|
|
.SH SEE ALSO
|
|
.BR ldap (3),
|
|
.BR ldap_result (3),
|
|
.BR ldap_error (3)
|
|
.SH ACKNOWLEDGEMENTS
|
|
.B OpenLDAP
|
|
is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
|
|
.B OpenLDAP
|
|
is derived from University of Michigan LDAP 3.3 Release.
|