Lines Matching refs:pool
34 static apr_status_t load_ldap(apr_pool_t *pool)
41 apu_dso_init(pool);
53 rv = apu_dso_load(NULL, &symbol, modname, "apr__ldap_fns", pool);
62 #define LOAD_LDAP_STUB(pool, failres) \
63 if (!lfn && (load_ldap(pool) != APR_SUCCESS)) \
66 APU_DECLARE_LDAP(int) apr_ldap_info(apr_pool_t *pool,
69 LOAD_LDAP_STUB(pool, -1);
70 return lfn->info(pool, result_err);
73 APU_DECLARE_LDAP(int) apr_ldap_init(apr_pool_t *pool,
80 LOAD_LDAP_STUB(pool, -1);
81 return lfn->init(pool, ldap, hostname, portno, secure, result_err);
84 APU_DECLARE_LDAP(int) apr_ldap_ssl_init(apr_pool_t *pool,
89 LOAD_LDAP_STUB(pool, -1);
90 return lfn->ssl_init(pool, cert_auth_file, cert_file_type, result_err);
100 APU_DECLARE_LDAP(int) apr_ldap_get_option(apr_pool_t *pool,
106 LOAD_LDAP_STUB(pool, -1);
107 return lfn->get_option(pool, ldap, option, outvalue, result_err);
110 APU_DECLARE_LDAP(int) apr_ldap_set_option(apr_pool_t *pool,
116 LOAD_LDAP_STUB(pool, -1);
117 return lfn->set_option(pool, ldap, option, invalue, result_err);
120 APU_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_init(apr_pool_t *pool)
122 LOAD_LDAP_STUB(pool, APR_EGENERAL);
123 return lfn->rebind_init(pool);
126 APU_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_add(apr_pool_t *pool,
131 LOAD_LDAP_STUB(pool, APR_EGENERAL);
132 return lfn->rebind_add(pool, ld, bindDN, bindPW);