1ldap_parse_result(3LDAP)    LDAP Library Functions    ldap_parse_result(3LDAP)
2
3
4

NAME

6       ldap_parse_result,                          ldap_parse_extended_result,
7       ldap_parse_sasl_bind_result - LDAP message result parser
8

SYNOPSIS

10       cc[ flag... ] file... -lldap[ library... ]
11       #include <lber.h>
12       #include <ldap.h>
13
14       int ldap_parse_result(LDAP *ld, LDAPMessage *res, int *errcodep,
15            char **matcheddnp,char **errmsgp, char ***referralsp,
16            LDAPControl ***serverctrlsp,int freeit);
17
18
19       int ldap_parse_sasl_bind_result(LDAP *ld, LDAPMessage *res,
20            struct berval**servercredp,int freeit);
21
22
23       int ldap_parse_extended_result(LDAP *ld, LDAPMessage *res,
24            struct bervalchar **resultoidp, **resultdata, int freeit);
25
26

DESCRIPTION

28       The     ldap_parse_extended_result(),      ldap_parse_result()      and
29       ldap_parse_sasl_bind_result()  routines  search for a message to parse.
30       These  functions  skip  messages  of  type   LDAP_RES_SEARCH_ENTRY  and
31       LDAP_RES_SEARCH_REFERENCE.
32

RETURN VALUES

34       They  return  LDAP_SUCCESS if the result was successfully parsed  or an
35       LDAP error code if not (see ldap_error(3LDAP)).
36

ATTRIBUTES

38       See attributes(5) for a description of the following attributes:
39
40
41
42
43       ┌─────────────────────────────┬─────────────────────────────┐
44       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
45       │Availability                 │SUNWcsl (32-bit)             │
46       │                             │SUNWcslx (64-bit)            │
47       │Interface Stability          │Evolving                     │
48       └─────────────────────────────┴─────────────────────────────┘
49

SEE ALSO

51       ldap_error(3LDAP), ldap_result(3LDAP), attributes(5)
52
53
54
55SunOS 5.11                        27 Jan 2002         ldap_parse_result(3LDAP)
Impressum