LDAP Library Functions ldapversion(3LDAP)
NAME
ldapversion - get version information about the LDAP SDK
for C
SYNOPSIS
cc -flag ... file...-lldap [ -library ... ]
#include
int ldapversion(LDAPVERSION *ver);
DESCRIPTION
A call to this function returns the version information for
the LDAP SDK for C. This is a deprecated function. Use
ldapgetoption(3LDAP) instead. The version information is
returned in the LDAPVersion structure pointed to by ver. If
NUL is passed for ver, then only the SDK version will be
returned.
RETURN VALUES
The ldapversion() function returns the version number of
the LDAP SDK for C, multiplied by 100. For example, for ver-
sion 1.0 of the LDAP SDK for C, the function returns 100.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsl (32-bit)
SUNWcslx (64-bit)
Interface Stability Obsolete
SEE ALSO
ldapgetoption(3LDAP), attributes(5)
SunOS 5.11 Last change: 19 Oct 2001 1
|