LDAP Library Functions ldapabandon(3LDAP)
NAME
ldapabandon - abandon an LDAP operation in progress
SYNOPSIS
cc[ flag... ] file... -lldap[ library... ]
#include
#include
int ldapabandon(LDAP *ld, int msgid);
DESCRIPTION
The ldapabandon() function is used to abandon or cancel an
LDAP operation in progress. The msgid passed should be the
message id of an outstanding LDAP operation, as returned by
ldapsearch(3LDAP), ldapmodify(3LDAP), etc.
ldapabandon() 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.
The caller can expect that the result of an abandoned opera-
tion will not be returned from a future call to
ldapresult(3LDAP).
ERORS
ldapabandon() returns 0 if successful or -1otherwise and
setting lderrno appropriately. See ldaperror(3LDAP) for
details.
ATRIBUTES
See attributes(5) for a description of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsl (32-bit)
SUNWcslx (64-bit)
Interface Stability Evolving
SEE ALSO
ldap(3LDAP), ldapresult(3LDAP), ldaperror(3LDAP), attri-
butes(5)
SunOS 5.11 Last change: 27 Jan 2002 1
|