Returns information about session preferences.
#include <ldap.h> int ldap_get_option ( LDAP *ld, int option, void *outvalue);
(IN) Contains the session handle. If this is NULL, the function returns information about global defaults.
(IN) Contains the name of the option for which information is returned (see Section 6.10, Session Preference Options).
(OUT) Returns a pointer to a buffer that contains the information about the specified option.
The type of buffer pointed to by the outvalue parameter depends on the option requested. For details, see Section 6.10, Session Preference Options.