"""
ber_alloc_t (3)      - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_bvarray_add (3)  - OpenLDAP LBER types and allocation functions
ber_bvarray_free (3) - OpenLDAP LBER types and allocation functions
ber_bvdup (3)        - OpenLDAP LBER types and allocation functions
ber_bvecadd (3)      - OpenLDAP LBER types and allocation functions
ber_bvecfree (3)     - OpenLDAP LBER types and allocation functions
ber_bvfree (3)       - OpenLDAP LBER types and allocation functions
ber_bvstr (3)        - OpenLDAP LBER types and allocation functions
ber_bvstrdup (3)     - OpenLDAP LBER types and allocation functions
ber_dupbv (3)        - OpenLDAP LBER types and allocation functions
ber_first_element (3) - OpenLDAP LBER simplified Basic Encoding Rules library...
ber_flush (3)        - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_free (3)         - OpenLDAP LBER types and allocation functions
ber_get_bitstring (3) - OpenLDAP LBER simplified Basic Encoding Rules library...
ber_get_boolean (3)  - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_get_enum (3)     - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_get_int (3)      - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_get_next (3)     - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_get_null (3)     - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_get_stringa (3)  - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_get_stringb (3)  - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_int_t (3)        - OpenLDAP LBER types and allocation functions
ber_len_t (3)        - OpenLDAP LBER types and allocation functions
ber_memalloc (3)     - OpenLDAP LBER memory allocators
ber_memcalloc (3)    - OpenLDAP LBER memory allocators
ber_memfree (3)      - OpenLDAP LBER memory allocators
ber_memrealloc (3)   - OpenLDAP LBER memory allocators
ber_next_element (3) - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_peek_tag (3)     - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_printf (3)       - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_put_bitstring (3) - OpenLDAP LBER simplified Basic Encoding Rules library...
ber_put_boolean (3)  - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_put_enum (3)     - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_put_int (3)      - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_put_null (3)     - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_put_ostring (3)  - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_put_seq (3)      - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_put_set (3)      - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_put_string (3)   - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_scanf (3)        - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_skip_tag (3)     - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_start_seq (3)    - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_start_set (3)    - OpenLDAP LBER simplified Basic Encoding Rules library ...
ber_str2bv (3)       - OpenLDAP LBER types and allocation functions
ber_tag_t (3)        - OpenLDAP LBER types and allocation functions
lber-decode (3)      - OpenLDAP LBER simplified Basic Encoding Rules library ...
lber-encode (3)      - OpenLDAP LBER simplified Basic Encoding Rules library ...
lber-memory (3)      - OpenLDAP LBER memory allocators
lber-sockbuf (3)     - OpenLDAP LBER I/O infrastructure
lber-types (3)       - OpenLDAP LBER types and allocation functions
ld_errno (3)         - LDAP protocol error handling routines
ldap (3)             - OpenLDAP Lightweight Directory Access Protocol API
ldap_abandon (3)     - Abandon an LDAP operation in progress
ldap_abandon_ext (3) - Abandon an LDAP operation in progress
ldap_add (3)         - Perform an LDAP add operation
ldap_add_ext (3)     - Perform an LDAP add operation
ldap_add_ext_s (3)   - Perform an LDAP add operation
ldap_add_s (3)       - Perform an LDAP add operation
ldap_attributetype2name (3) - Schema definition handling routines
ldap_attributetype2str (3) - Schema definition handling routines
ldap_attributetype_free (3) - Schema definition handling routines
ldap_bind (3)        - LDAP bind routines
ldap_bind_s (3)      - LDAP bind routines
ldap_compare (3)     - Perform an LDAP compare operation.
ldap_compare_ext (3) - Perform an LDAP compare operation.
ldap_compare_ext_s (3) - Perform an LDAP compare operation.
ldap_compare_s (3)   - Perform an LDAP compare operation.
ldap_control_create (3) - LDAP control manipulation routines
ldap_control_dup (3) - LDAP control manipulation routines
ldap_control_find (3) - LDAP control manipulation routines
ldap_control_free (3) - LDAP control manipulation routines
ldap_controls (3)    - LDAP control manipulation routines
ldap_controls_dup (3) - LDAP control manipulation routines
ldap_controls_free (3) - LDAP control manipulation routines
ldap_count_entries (3) - LDAP result entry parsing and counting routines
ldap_count_messages (3) - Stepping through messages in a result chain
ldap_count_references (3) - Stepping through continuation references in a res...
ldap_count_values (3) - LDAP attribute value handling routines
ldap_count_values_len (3) - LDAP attribute value handling routines
ldap_dcedn2dn (3)    - LDAP DN handling routines
ldap_delete (3)      - Perform an LDAP delete operation.
ldap_delete_ext (3)  - Perform an LDAP delete operation.
ldap_delete_ext_s (3) - Perform an LDAP delete operation.
ldap_delete_s (3)    - Perform an LDAP delete operation.
ldap_destroy (3)     - Duplicate and destroy LDAP session handles
ldap_dn2ad_canonical (3) - LDAP DN handling routines
ldap_dn2dcedn (3)    - LDAP DN handling routines
ldap_dn2str (3)      - LDAP DN handling routines
ldap_dn2ufn (3)      - LDAP DN handling routines
ldap_dnfree (3)      - LDAP DN handling routines
ldap_dup (3)         - Duplicate and destroy LDAP session handles
ldap_err2string (3)  - LDAP protocol error handling routines
ldap_errlist (3)     - LDAP protocol error handling routines
ldap_error (3)       - LDAP protocol error handling routines
ldap_explode_dn (3)  - LDAP DN handling routines
ldap_explode_rdn (3) - LDAP DN handling routines
ldap_extended_operation (3) - Extends the LDAP operations to the LDAP server.
ldap_extended_operation_s (3) - Extends the LDAP operations to the LDAP server.
ldap_first_attribute (3) - step through LDAP entry attributes
ldap_first_entry (3) - LDAP result entry parsing and counting routines
ldap_first_message (3) - Stepping through messages in a result chain
ldap_first_reference (3) - Stepping through continuation references in a resu...
ldap_free_urldesc (3) - LDAP Uniform Resource Locator routines
ldap_get_dn (3)      - LDAP DN handling routines
ldap_get_option (3)  - LDAP option handling routines
ldap_get_values (3)  - LDAP attribute value handling routines
ldap_get_values_len (3) - LDAP attribute value handling routines
ldap_init (3)        - Initialize the LDAP library and open a connection to a...
ldap_init_fd (3)     - Initialize the LDAP library and open a connection to a...
ldap_initialize (3)  - Initialize the LDAP library and open a connection to a...
ldap_install_tls (3) - LDAP TLS initialization routines
ldap_is_ldap_url (3) - LDAP Uniform Resource Locator routines
ldap_matchingrule2name (3) - Schema definition handling routines
ldap_matchingrule2str (3) - Schema definition handling routines
ldap_matchingrule_free (3) - Schema definition handling routines
ldap_memalloc (3)    - LDAP memory allocation routines
ldap_memcalloc (3)   - LDAP memory allocation routines
ldap_memfree (3)     - LDAP memory allocation routines
ldap_memory (3)      - LDAP memory allocation routines
ldap_memrealloc (3)  - LDAP memory allocation routines
ldap_memvfree (3)    - LDAP memory allocation routines
ldap_modify (3)      - Perform an LDAP modify operation
ldap_modify_ext (3)  - Perform an LDAP modify operation
ldap_modify_ext_s (3) - Perform an LDAP modify operation
ldap_modify_s (3)    - Perform an LDAP modify operation
ldap_modrdn (3)      - Perform an LDAP modify RDN operation
ldap_modrdn2 (3)     - Perform an LDAP modify RDN operation
ldap_modrdn2_s (3)   - Perform an LDAP modify RDN operation
ldap_modrdn_s (3)    - Perform an LDAP modify RDN operation
ldap_mods_free (3)   - Perform an LDAP modify operation
ldap_msgfree (3)     - Wait for the result of an LDAP operation
ldap_msgid (3)       - Wait for the result of an LDAP operation
ldap_msgtype (3)     - Wait for the result of an LDAP operation
ldap_next_attribute (3) - step through LDAP entry attributes
ldap_next_entry (3)  - LDAP result entry parsing and counting routines
ldap_next_message (3) - Stepping through messages in a result chain
ldap_next_reference (3) - Stepping through continuation references in a resul...
ldap_objectclass2name (3) - Schema definition handling routines
ldap_objectclass2str (3) - Schema definition handling routines
ldap_objectclass_free (3) - Schema definition handling routines
ldap_open (3)        - Initialize the LDAP library and open a connection to a...
ldap_parse_extended_result (3) - Parsing results
ldap_parse_reference (3) - Extract referrals and controls from a reference me...
ldap_parse_result (3) - Parsing results
ldap_parse_sasl_bind_result (3) - Parsing results
ldap_parse_sort_control (3) - Decode the information returned from a search o...
ldap_parse_vlv_control (3) - Decode the information returned from a search op...
ldap_perror (3)      - LDAP protocol error handling routines
ldap_rename (3)      - Renames the specified entry.
ldap_rename_s (3)    - Renames the specified entry.
ldap_result (3)      - Wait for the result of an LDAP operation
ldap_result2error (3) - LDAP protocol error handling routines
ldap_sasl_bind (3)   - LDAP bind routines
ldap_sasl_bind_s (3) - LDAP bind routines
ldap_set_rebind_proc (3) - LDAP bind routines
ldap_schema (3)      - Schema definition handling routines
ldap_scherr2str (3)  - Schema definition handling routines
ldap_search (3)      - Perform an LDAP search operation
ldap_search_ext (3)  - Perform an LDAP search operation
ldap_search_ext_s (3) - Perform an LDAP search operation
ldap_search_s (3)    - Perform an LDAP search operation
ldap_search_st (3)   - Perform an LDAP search operation
ldap_set_option (3)  - LDAP option handling routines
ldap_set_urllist_proc (3) - Initialize the LDAP library and open a connection...
ldap_simple_bind (3) - LDAP bind routines
ldap_simple_bind_s (3) - LDAP bind routines
ldap_sort (3)        - LDAP sorting routines (deprecated)
ldap_sort_entries (3) - LDAP sorting routines (deprecated)
ldap_sort_strcasecmp (3) - LDAP sorting routines (deprecated)
ldap_sort_values (3) - LDAP sorting routines (deprecated)
ldap_start_tls (3)   - LDAP TLS initialization routines
ldap_start_tls_s (3) - LDAP TLS initialization routines
ldap_str2attributetype (3) - Schema definition handling routines
ldap_str2dn (3)      - LDAP DN handling routines
ldap_str2matchingrule (3) - Schema definition handling routines
ldap_str2objectclass (3) - Schema definition handling routines
ldap_str2syntax (3)  - Schema definition handling routines
ldap_strdup (3)      - LDAP memory allocation routines
ldap_sync (3)        - LDAP sync routines
ldap_syntax2name (3) - Schema definition handling routines
ldap_syntax2str (3)  - Schema definition handling routines
ldap_syntax_free (3) - Schema definition handling routines
ldap_tls (3)         - LDAP TLS initialization routines
ldap_tls_inplace (3) - LDAP TLS initialization routines
ldap_unbind (3)      - LDAP bind routines
ldap_unbind_ext (3)  - LDAP bind routines
ldap_unbind_ext_s (3) - LDAP bind routines
ldap_unbind_s (3)    - LDAP bind routines
ldap_url (3)         - LDAP Uniform Resource Locator routines
ldap_url_parse (3)   - LDAP Uniform Resource Locator routines
ldap_value_free (3)  - LDAP attribute value handling routines
ldap_value_free_len (3) - LDAP attribute value handling routines
"""

from ctypes import CDLL
from ctypes.util import find_library

lib_name = find_library('ldap')
lib_ldap = CDLL(lib_name)
