21 #ifndef APU_INTERNAL_H
22 #define APU_INTERNAL_H
35 apr_status_t apu_dso_init(apr_pool_t *pool);
37 apr_status_t apu_dso_mutex_lock(
void);
38 apr_status_t apu_dso_mutex_unlock(
void);
40 apr_status_t apu_dso_load(apr_dso_handle_t **dso, apr_dso_handle_sym_t *dsoptr,
const char *module,
41 const char *modsym, apr_pool_t *pool);
47 struct apr__ldap_dso_fntable {
48 int (*info)(apr_pool_t *pool, apr_ldap_err_t **result_err);
49 int (*init)(apr_pool_t *pool, LDAP **ldap,
const char *hostname,
50 int portno,
int secure, apr_ldap_err_t **result_err);
51 int (*ssl_init)(apr_pool_t *pool,
const char *cert_auth_file,
52 int cert_file_type, apr_ldap_err_t **result_err);
53 int (*ssl_deinit)(void);
54 int (*get_option)(apr_pool_t *pool, LDAP *ldap,
int option,
55 void *outvalue, apr_ldap_err_t **result_err);
56 int (*set_option)(apr_pool_t *pool, LDAP *ldap,
int option,
57 const void *invalue, apr_ldap_err_t **result_err);
58 apr_status_t (*rebind_init)(apr_pool_t *pool);
59 apr_status_t (*rebind_add)(apr_pool_t *pool, LDAP *ld,
60 const char *bindDN,
const char *bindPW);
61 apr_status_t (*rebind_remove)(LDAP *ld);