Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
LDAP Library Functionsldap_version(3LDAP)


NAME

 ldap_version - get version information about the LDAP SDK for C

SYNOPSIS

 
cc -flag ...  file ...-lldap [-library ...] 
#include <ldap.h>
int ldap_version(LDAPVERSION *ver);

DESCRIPTION

 

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.

RETURN VALUES

 

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.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsl (32-bit)
 SUNWcslx (64-bit)
Interface StabilityObsolete

SEE ALSO

 

ldap_get_option(ldap), attributes(5)


SunOS 5.9Go To TopLast Changed 19 Oct 2001

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.