00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
#ifndef APR_LDAP_INIT_H
00017
#define APR_LDAP_INIT_H
00018
00019
#include "apr_ldap.h"
00020
00021
#if APR_HAS_LDAP
00022
00023
00024
00025
00026
00027
#define APR_LDAP_CA_TYPE_UNKNOWN 0
00028
#define APR_LDAP_CA_TYPE_DER 1
00029
#define APR_LDAP_CA_TYPE_BASE64 2
00030
#define APR_LDAP_CA_TYPE_CERT7_DB 3
00031
00032
APU_DECLARE(
int) apr_ldap_ssl_init(apr_pool_t *pool,
00033 const
char *cert_auth_file,
00034
int cert_file_type,
00035
apr_ldap_err_t **result_err);
00036
00037 APU_DECLARE(
int) apr_ldap_ssl_deinit();
00038
00039 APU_DECLARE(
int) apr_ldap_init(apr_pool_t *pool,
00040 LDAP **ldap,
00041 const
char *hostname,
00042
int portno,
00043
int secure,
00044
apr_ldap_err_t **result_err);
00045
00046 APU_DECLARE(
int) apr_ldap_info(apr_pool_t *pool,
00047
apr_ldap_err_t **result_err);
00048
00049 #endif
00050
00051 #endif