X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fman%2Fman3%2Fldap_abandon.3;h=1f71df5aae2cd4a2e5500f3f706283fef6399c3e;hb=473e2c997f6b1f226d35da186db8033c922001f3;hp=10ed5c812e06ea438b53ecf5adf191029b0090c3;hpb=dc0eacd40b625258355eea866d62188e5aa7ce3b;p=openldap diff --git a/doc/man/man3/ldap_abandon.3 b/doc/man/man3/ldap_abandon.3 index 10ed5c812e..1f71df5aae 100644 --- a/doc/man/man3/ldap_abandon.3 +++ b/doc/man/man3/ldap_abandon.3 @@ -1,68 +1,69 @@ .TH LDAP_ABANDON 3 "RELEASEDATE" "OpenLDAP LDVERSION" .\" $OpenLDAP$ -.\" Copyright 1998-2005 The OpenLDAP Foundation All Rights Reserved. +.\" Copyright 1998-2011 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 +ldap_abandon_ext \- Abandon an LDAP operation in progress .SH LIBRARY -OpenLDAP LDAP (libldap, -lldap) +OpenLDAP LDAP (libldap, \-lldap) .SH SYNOPSIS .nf -.B #include -.sp -.BI "int ldap_abandon(LDAP *" ld ", int " msgid ");" -.sp -.BI "int ldap_abandon_ext(LDAP *" ld ", int " msgid "," +.B +#include +.LP +.ft B +int ldap_abandon_ext( .RS -.BI "LDAPControl *" sctrls "[], LDAPControl *" cctrls "[]);" +.ft B +LDAP *\fIld\fB, +Bint \fImsgid\fB, +LDAPControl **\fIsctrls\fB, +LDAPControl **\fIcctrls\fB ); .RE .fi .SH DESCRIPTION The -.B ldap_abandon() -routine is used to abandon or cancel an LDAP +.B ldap_abandon_ext() +routine is used to send a LDAP Abandon request for an 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. +message id of an outstanding LDAP operation, such as returned by +.BR ldap_search_ext (3). .LP -.BR ldap_abandon () +.BR 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 operation to the the LDAP server. +it sends an LDAP abandon request to 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 +allows server and client controls to be passed in via the .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. +.I cctrls +parameters, respectively. .LP .B ldap_abandon_ext() -directly returns an LDAP error code indicating success or failure of the -operation. -.LP -See +returns a code indicating success or, in the case of failure, the +nature of the failure. See .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 +.so Deprecated + .SH SEE ALSO .BR ldap (3), +.BR ldap_error (3), .BR ldap_result (3), -.BR ldap_error (3) +.BR ldap_search_ext (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. +.so ../Project +