LDAP Library Functions ldap_parse_result(3LDAP)
NAME
ldap_parse_result, ldap_parse_extended_result,
ldap_parse_sasl_bind_result - LDAP message result parser
SYNOPSIS
cc[ flag... ] file... -lldap[ library... ]
#include
#include
int ldap_parse_result(LDAP *ld, LDAPMessage *res, int *errcodep,
char **matcheddnp,char **errmsgp, char ***referralsp, LDAPControl ***serverctrlsp,int freeit);int ldap_parse_sasl_bind_result(LDAP *ld, LDAPMessage *res,
struct berval**servercredp,int freeit);int ldap_parse_extended_result(LDAP *ld, LDAPMessage *res,
struct bervalchar **resultoidp, **resultdata, int freeit);DESCRIPTION
The ldap_parse_extended_result(), ldap_parse_result() and
ldap_parse_sasl_bind_result() routines search for a message
to parse. These functions skip messages of typeLDAP_RES_SEARCH_ENTRY and LDAP_RES_SEARCH_REFERENCE.
RETURN VALUES
They return LDAP_SUCCESS if the result was successfully
parsed or an LDAP error code if not (seeldap_error(3LDAP)).
ATTRIBUTES
See attributes(5) for a description of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | system/library (32-bit) |
| | SUNWcslx (64-bit) |
| Interface Stability | Committed ||_____________________________|_____________________________|
SEE ALSO
ldap_error(3LDAP), ldap_result(3LDAP), attributes(5)
SunOS 5.11 Last change: 27 Jan 2002 1