A call to this function returns the version information for the LDAP SDK for C. This is a deprecated function. Use ldap_get_option(ldap) instead. The version information
is returned in the LDAPVersion structure pointed to by ver. If NULL is passed for ver, then only the SDK version will be returned.
The ldap_version() function returns the version number of the LDAP SDK for C, multiplied by 100. For example, for version 1.0 of the LDAP SDK for C, the function returns 100.