1ldap_version(3LDAP) LDAP Library Functions ldap_version(3LDAP)
2
3
4
6 ldap_version - get version information about the LDAP SDK for C
7
9 cc -flag ... file...-lldap [ -library ... ]
10 #include <ldap.h>
11
12 int ldap_version(LDAPVERSION *ver);
13
14
16 A call to this function returns the version information for the LDAP
17 SDK for C. This is a deprecated function. Use ldap_get_option(3LDAP)
18 instead. The version information is returned in the LDAPVersion struc‐
19 ture pointed to by ver. If NULL is passed for ver, then only the SDK
20 version will be returned.
21
23 The ldap_version() function returns the version number of the LDAP SDK
24 for C, multiplied by 100. For example, for version 1.0 of the LDAP SDK
25 for C, the function returns 100.
26
28 See attributes(5) for descriptions of the following attributes:
29
30
31
32
33 ┌─────────────────────────────┬─────────────────────────────┐
34 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
35 ├─────────────────────────────┼─────────────────────────────┤
36 │Availability │SUNWcsl (32-bit) │
37 ├─────────────────────────────┼─────────────────────────────┤
38 │ │SUNWcslx (64-bit) │
39 ├─────────────────────────────┼─────────────────────────────┤
40 │Interface Stability │Obsolete │
41 └─────────────────────────────┴─────────────────────────────┘
42
44 ldap_get_option(3LDAP), attributes(5)
45
46
47
48SunOS 5.11 19 Oct 2001 ldap_version(3LDAP)