'\" te .\" Copyright (c) 1990, Regents of the University of Michigan. All Rights Reserved. .\" Portions Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. .TH ldap_version 3LDAP "23 Aug 2011" "SunOS 5.11" "LDAP Library Functions" .SH NAME ldap_version \- get version information about the LDAP SDK for C .SH SYNOPSIS .LP .nf \fBcc\fR [ \fIflag \&.\|.\|.\fR ] \fIfile\fR\&.\|.\|. \fB-l\fRldap [ \fIlibrary \&.\|.\|.\fR ] #include \fBint\fR \fBldap_version\fR(\fBLDAPVERSION\fR *\fIver\fR); .fi .SH DESCRIPTION .sp .LP A call to this function returns the version information for the LDAP SDK for C. This is a deprecated function. Use \fBldap_get_option\fR(3LDAP) instead. The version information is returned in the \fBLDAPVersion\fR structure pointed to by \fIver\fR. If \fINULL\fR is passed for \fIver\fR, then only the SDK version will be returned. .SH RETURN VALUES .sp .LP The \fBldap_version()\fR 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 \fB100\fR. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/library _ Interface StabilityObsolete .TE .SH SEE ALSO .sp .LP \fBldap_get_option\fR(3LDAP), \fBattributes\fR(5)