openldap/doc/man/man3/ldap_abandon.3

66 lines
1.6 KiB
Groff
Raw Normal View History

2002-06-12 23:59:10 -04:00
.TH LDAP_ABANDON 3 "RELEASEDATE" "OpenLDAP LDVERSION"
1999-09-12 00:41:47 -04:00
.\" $OpenLDAP$
2006-01-03 18:11:52 -05:00
.\" Copyright 1998-2006 The OpenLDAP Foundation All Rights Reserved.
1999-09-12 00:41:47 -04:00
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
1998-08-08 20:43:13 -04:00
.SH NAME
ldap_abandon_ext \- Abandon an LDAP operation in progress
2002-06-21 03:32:54 -04:00
.SH LIBRARY
2002-06-21 17:25:38 -04:00
OpenLDAP LDAP (libldap, -lldap)
1998-08-08 20:43:13 -04:00
.SH SYNOPSIS
.nf
.B #include <ldap.h>
.BI "int ldap_abandon_ext(LDAP *" ld ", int " msgid ","
.RS
.BI "LDAPControl *" sctrls "[], LDAPControl *" cctrls "[]);"
2003-04-29 11:14:35 -04:00
.RE
.fi
1998-08-08 20:43:13 -04:00
.SH DESCRIPTION
The
.B ldap_abandon_ext()
1998-08-08 20:43:13 -04:00
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_ext (3),
.BR ldap_modify_ext (3),
1998-08-08 20:43:13 -04:00
etc.
.LP
.BR ldap_abandon_ext ()
1998-08-08 20:43:13 -04:00
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()
allows server and client controls to be passed in via the
.I sctrls
and
.I cctrls
parameters, respectively.
1998-08-08 20:43:13 -04:00
.SH ERRORS
.B ldap_abandon_ext()
directly returns an LDAP error code indicating success or failure of the
operation.
.LP
See
1998-08-08 20:43:13 -04:00
.BR ldap_error (3)
for details.
.SH DEPRECATED INTERFACES
The
.B ldap_abandon()
routine is deprecated in favor of the
.B ldap_abandon_ext()
routine.
.LP
2006-06-13 19:07:10 -04:00
.so Deprecated
1998-08-08 20:43:13 -04:00
.SH SEE ALSO
.BR ldap (3),
.BR ldap_result (3),
.BR ldap_error (3)
1998-10-24 21:41:42 -04:00
.SH ACKNOWLEDGEMENTS
2006-06-13 19:07:10 -04:00
.so ../Project