]> git.sur5r.net Git - openldap/blob - doc/man/man3/ldap_abandon.3
Additional cleanup
[openldap] / doc / man / man3 / ldap_abandon.3
1 .TH LDAP_ABANDON 3 "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" $OpenLDAP$
3 .\" Copyright 1998-2006 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
5 .SH NAME
6 ldap_abandon_ext \- Abandon an LDAP operation in progress
7 .SH LIBRARY
8 OpenLDAP LDAP (libldap, -lldap)
9 .SH SYNOPSIS
10 .nf
11 .B #include <ldap.h>
12 .BI "int ldap_abandon_ext(LDAP *" ld ", int " msgid ","
13 .RS
14 .BI "LDAPControl *" sctrls "[], LDAPControl *" cctrls "[]);"
15 .RE
16 .fi
17 .SH DESCRIPTION
18 The
19 .B ldap_abandon_ext()
20 routine is used to send a abandon request for an LDAP
21 operation in progress.  The \fImsgid\fP passed should be the
22 message id of an outstanding LDAP operation, as returned by
23 .BR ldap_search_ext (3),
24 .BR ldap_modify_ext (3),
25 etc.
26 .LP
27 .BR ldap_abandon_ext ()
28 checks to see if the result of the operation has already come in.  If it
29 has, it deletes it from the queue of pending messages.  If not,
30 it sends an LDAP abandon request to the LDAP server.
31 .LP
32 The caller can expect that the result of an abandoned operation
33 will not be returned from a future call to
34 .BR ldap_result (3).
35 .LP
36 .B ldap_abandon_ext()
37 allows server and client controls to be passed in via the
38 .I sctrls
39 and
40 .I cctrls
41 parameters, respectively.
42 .SH ERRORS
43 .B ldap_abandon_ext()
44 directly returns an LDAP error code indicating success or failure of the
45 operation.
46 .LP
47 See
48 .BR ldap_error (3)
49 for details.
50 .SH DEPRECATED INTERFACES
51 The
52 .B ldap_abandon()
53 routine is deprecated in favor of the
54 .B ldap_abandon_ext()
55 routine. 
56 .LP
57 .so Deprecated
58
59 .SH SEE ALSO
60 .BR ldap (3),
61 .BR ldap_result (3),
62 .BR ldap_error (3)
63 .SH ACKNOWLEDGEMENTS
64 .so ../Project
65