Contains information about the vendor's implementation of the LDAP API.
typedef struct ldapapiinfo { int ldapai_info_version; int ldapai_api_version; int ldapai_protocol_version; char **ldapai_extensions; char *ldapai_vendor_name; int ldapai_vendor_version; } LDAPAPIInfo;
Specifies the version of the LDAPAPIInfo structure.
Specifies the revision of the API supported.
Specifies the highest LDAP version supported by the LDAP library.
Points to a NULL-terminated array of character strings that names the vendor's LDAP extensions. If no API extensions are supported, this field is set to NULL. The application is responsible for freeing this memory by calling the ldap_value_free function.
Points to the vendor's name. The application is responsible for freeing this memory by calling the ldap_memfree function.
Specifies the vendor's version of the LDAP libraries.
To retrieve more information about an extension (the ldapai_extensions field), call the ldap_get_option function with the option parameter set to LDAP_OPT_API_FEATURE_INFO.