00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00020 #ifndef APR_LDAP_INIT_H
00021 #define APR_LDAP_INIT_H
00022
00029 #include "apr_ldap.h"
00030
00031 #if APR_HAS_LDAP
00032
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036
00060 APU_DECLARE(int) apr_ldap_ssl_init(apr_pool_t *pool,
00061 const char *cert_auth_file,
00062 int cert_file_type,
00063 apr_ldap_err_t **result_err);
00064
00074 APU_DECLARE(int) apr_ldap_ssl_deinit(void);
00075
00110 APU_DECLARE(int) apr_ldap_init(apr_pool_t *pool,
00111 LDAP **ldap,
00112 const char *hostname,
00113 int portno,
00114 int secure,
00115 apr_ldap_err_t **result_err);
00116
00125 APU_DECLARE(int) apr_ldap_info(apr_pool_t *pool,
00126 apr_ldap_err_t **result_err);
00127
00128 #ifdef __cplusplus
00129 }
00130 #endif
00131
00132 #endif
00133
00136 #endif