2 .\" Copyright (C) 1990, Regents of the University of Michigan. All Rights Reserved.
3 .\" Portions Copyright (C) 2001, Sun Microsystems, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH LDAP_VERSION 3LDAP "Oct 19, 2001"
9 ldap_version \- get version information about the LDAP SDK for C
13 \fBcc\fR \fB-flag \&.\|.\|.\fR \fIfile\fR\&.\|.\|.\fB-l\fRldap [\fB -library \&.\|.\|. \fR]
16 \fBint\fR \fBldap_version\fR(\fBLDAPVERSION\fR *\fIver\fR);
22 A call to this function returns the version information for the LDAP SDK for C.
23 This is a deprecated function. Use \fBldap_get_option\fR(3LDAP) instead. The
24 version information is returned in the \fBLDAPVersion\fR structure pointed to
25 by \fIver\fR. If \fINULL\fR is passed for \fIver\fR, then only the SDK version
30 The \fBldap_version()\fR function returns the version number of the LDAP SDK
31 for C, multiplied by 100. For example, for version 1.0 of the LDAP SDK for C,
32 the function returns \fB100\fR.
36 See \fBattributes\fR(5) for descriptions of the following attributes:
44 ATTRIBUTE TYPE ATTRIBUTE VALUE
46 Interface Stability Obsolete
52 \fBldap_get_option\fR(3LDAP), \fBattributes\fR(5)