LDAP-UX Client Services B.05.00 Administrator's Guide

Table 9-3 (page 340) shows header files that support the LDAP libraries existing under /usr/include,
except where noted:
Table 9-3 Mozilla LDAP C SDK API header files
DescriptionHeader Files
Main LDAP functions, structures and defines./usr/include/ldap.h
Support for LDAP v3 extended operations, controls and
other server specific features. This file must be included
in source code that uses LDAP v3 extended operations or
controls.
/usr/include/ldap-extension.h
Support for creation of SSL connections. This file must be
included in source code that requires SSL connections.
/usr/include/ldap_ssl.h
Support for LDAP search preferences configuration files
(ldapsearchprefs.conf). A common method used by
applications that use the OpenLDAP API to define
organizational search preferences.
/usr/include/srchpref.h
Support for LDAP display templates. Allows applications
to convert LDAP entries into displayable text strings and
HTML.
/usr/include/disptmpl.h
Support for creating messages that follow the Basic
Encoding Rules syntax. These APIs are used when
building extended LDAP operations or controls. This file
is a support file for ldap.h and does not need to included
in source code.
/usr/include/lber.h
Contains basic LDAP defines. This file is a support file
for ldap.h and does not need to be included in source
code.
/usr/include/ldap-standard.h
Contains platform specific information for compiling on
a variety of platforms. This file is a support file for ldap.h
and does not need to be included in source code.
/usr/include/ldap-platform.h
LDAP APIs that will not be available in the future. Do
not use this header file for newly created LDAP-enabled
applications.
/opt/ldapux/include/ldap-to-be-deprecated.h
LDAP APIs that have been deprecated. Do not use./opt/ldapux/include/ldap-deprecated.h
NOTE: If you attempt to use the LDAP C SDK in your code , you only need to put in "#include
<ldap.h>" in the code and compile with the -lldap parameter to link with the LDAP C SDK
library.
9.3 Legacy versions of the LDAP SDK
Version 6.0.5 of the Mozilla LDAP SDK includes changes to improve compliance with the LDAP
C API specification defined by the IETF document
draft-ietf-ldapext-ldap-c-api-05.txt. These changes modify lower-level BER
structures. While the majority of these changes are maintained within the SDK itself, or opaque
to the applications, those applications that use or modify binary data stored in the directory
server or that make direct use of non-integrated LDAP extensions or controls, will likely be
impacted. The impacted applications will be incompatible with version 6.0.5 unless they are
re-compiled.
To ease the transition to Mozilla LDAP SDK 6.0.5, the previous version of LDAP SDK, 5.17.1 is
available in the /opt/dirsrv/legacy/5 directory and can be loaded by applications by using
LD_LIBRARY_PATH or LD_PRELOAD as appropriate.
340 Mozilla LDAP C SDK