Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows the LDAP structures with a description of the purpose of each.

Programming element Description

BerElement

This structure is used for basic encoding rules (BER) encoding.

berval

This structure is used to represent arbitrary binary data that is encoded according to basic encoding rules (BER).

LDAP

This structure represents an LDAP session.

LDAP_REFERRAL_CALLBACK

This structure is used to implement external caching of connections.

LDAP_TIMEVAL

This structure is used to represent an interval of time.

LDAPControl

This structure is used to represent both client-side and server controls.

LDAPMessage

This structure is used by LDAP functions to return results and error information.

LDAPMod

This structure holds information needed to perform a modification operation.

LDAPSearch

This structure is created by a call to the ldap_search_init_pagefunction to manage paged searches.

LDAPSortKey

This structure stores sorting criteria for use by sort controls.