1ldap_abandon(3LDAP) LDAP Library Functions ldap_abandon(3LDAP)
2
3
4
6 ldap_abandon - abandon an LDAP operation in progress
7
9 cc[ flag... ] file... -lldap[ library... ]
10 #include <lber.h>
11 #include <ldap.h>
12
13 int ldap_abandon(LDAP *ld, int msgid);
14
15
17 The ldap_abandon() function is used to abandon or cancel an LDAP opera‐
18 tion in progress. The msgid passed should be the message id of an out‐
19 standing LDAP operation, as returned by ldap_search(3LDAP), ldap_mod‐
20 ify(3LDAP), etc.
21
22
23 ldap_abandon() checks to see if the result of the operation has already
24 come in. If it has, it deletes it from the queue of pending messages.
25 If not, it sends an LDAP abandon operation to the the LDAP server.
26
27
28 The caller can expect that the result of an abandoned operation will
29 not be returned from a future call to ldap_result(3LDAP).
30
32 ldap_abandon() returns 0 if successful or −1otherwise and setting
33 ld_errno appropriately. See ldap_error(3LDAP) for details.
34
36 See attributes(5) for a description of the following attributes:
37
38
39
40
41 ┌─────────────────────────────┬─────────────────────────────┐
42 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
43 │Availability │SUNWcsl (32-bit) │
44 │ │SUNWcslx (64-bit) │
45 │Interface Stability │Evolving │
46 └─────────────────────────────┴─────────────────────────────┘
47
49 ldap(3LDAP), ldap_result(3LDAP), ldap_error(3LDAP), attributes(5)
50
51
52
53SunOS 5.11 27 Jan 2002 ldap_abandon(3LDAP)