his chapter lists all the public functions of the LDAP API in alphabetic order. Each description identifies the name of the function, its header file, its syntax, what it returns, its parameters, and an example of its use.
There are two ways you can look up a function. You can view the functions either:
Authenticating to an LDAP Server
Call the following functions to authenticate to an LDAP server.
Performing LDAP Operations
Call the following functions to perform LDAP operations on a server.
Getting Search Results
Call the following functions to retrieve search results.
Sorting Search Results
Call the following functions to sort search results.
Working with Search Filters
Call the following functions to initialize, retrieve, and build filters.
Working with Distinguished Names
Call the following functions to retrieve a distinguished name from an entry and to split a distinguished name into its component parts.
Working with LDAP URLs
Call the following functions to interpret LDAP URLs.
Handling Errors
Call the following functions to handle errors returned by the LDAP API functions.
Freeing Memory
Call the following functions to free memory allocated by the LDAP API functions.
Functions (in alphabetical order)
ldap_abandon()
ldap_add()
ldap_add_s()
ldap_ber_free()
ldap_build_filter()
ldap_compare()
ldap_compare_s()
ldap_count_entries()
ldap_count_values()
ldap_count_values_len()
ldap_create_filter()
ldap_delete()
ldap_delete_s()
ldap_err2string()
ldap_explode_dn()
ldap_explode_rdn()
ldap_first_attribute()
ldap_first_entry()
ldap_free_friendlymap()
ldap_free_urldesc()
ldap_friendly_name()
ldap_get_dn()
ldap_getfilter_free()
ldap_getfirstfilter()
ldap_get_lderrno()
ldap_getnextfilter()
ldap_get_option()
ldap_get_values()
ldap_get_values_len()
ldap_init()
ldap_init_getfilter()
ldap_init_getfilter_buf()
ldap_is_ldap_url()
ldap_memfree()
ldap_modify()
ldap_modify_s()
ldap_modrdn()
ldap_modrdn_s()
ldap_modrdn2()
ldap_modrdn2_s()
ldap_mods_free()
ldap_msgfree()
ldap_msgid()
ldap_msgtype()
ldap_multisort_entries()
ldap_next_attribute()
ldap_next_entry()
ldap_perror()
ldap_result()
ldap_result2error()
ldap_search()
ldap_search_s()
ldap_search_st()
ldap_set_filter_additions()
ldap_setfilteraffixes()
ldap_set_lderrno()
ldap_set_option()
ldap_set_rebind_proc()
ldap_simple_bind()
ldap_simple_bind_s()
ldap_sort_entries()
ldap_sort_values()
ldap_sort_strcasecmp()
ldap_unbind()
ldap_unbind_s()
ldap_url_parse()
ldap_url_search()
ldap_url_search_s()
ldap_url_search_st()
ldap_value_free()
ldap_value_free_len()
ldap_version()
ldapssl_client_init()
ldapssl_init()
ldapssl_install_routines()
Last modified: March 31, 1997
Copyright © 1997 Netscape
Communications Corporation