summaryrefslogtreecommitdiff
path: root/include/private
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2011-05-31 17:11:33 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2011-05-31 17:11:33 +0000
commitb3f819b79bdbd644ee8142574c371fb8a1eebe69 (patch)
treed5bfbc91e0302fe664701fdf727181e25970dbed /include/private
parent8a6fb4989975d5f1191d77f7bd32f477b3ab4866 (diff)
downloadapr-b3f819b79bdbd644ee8142574c371fb8a1eebe69.tar.gz
Drop the incomplete LDAP abstraction layer from APR 2.0 as decided on-list.
It was not possible to use this interface without ldap provider internals. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1129809 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/private')
-rw-r--r--include/private/apu_internal.h29
1 files changed, 3 insertions, 26 deletions
diff --git a/include/private/apu_internal.h b/include/private/apu_internal.h
index 868dabaaf..21075c5c4 100644
--- a/include/private/apu_internal.h
+++ b/include/private/apu_internal.h
@@ -17,7 +17,6 @@
#include "apr.h"
#include "apr_dso.h"
#include "apu.h"
-#include "apr_ldap.h"
#ifndef APU_INTERNAL_H
#define APU_INTERNAL_H
@@ -38,31 +37,9 @@ apr_status_t apu_dso_init(apr_pool_t *pool);
apr_status_t apu_dso_mutex_lock(void);
apr_status_t apu_dso_mutex_unlock(void);
-apr_status_t apu_dso_load(apr_dso_handle_t **dso, apr_dso_handle_sym_t *dsoptr, const char *module,
- const char *modsym, apr_pool_t *pool);
-
-#if APR_HAS_LDAP
-
-/* For LDAP internal builds, wrap our LDAP namespace */
-
-struct apr__ldap_dso_fntable {
- int (*info)(apr_pool_t *pool, apr_ldap_err_t **result_err);
- int (*init)(apr_pool_t *pool, LDAP **ldap, const char *hostname,
- int portno, int secure, apr_ldap_err_t **result_err);
- int (*ssl_init)(apr_pool_t *pool, const char *cert_auth_file,
- int cert_file_type, apr_ldap_err_t **result_err);
- int (*ssl_deinit)(void);
- int (*get_option)(apr_pool_t *pool, LDAP *ldap, int option,
- void *outvalue, apr_ldap_err_t **result_err);
- int (*set_option)(apr_pool_t *pool, LDAP *ldap, int option,
- const void *invalue, apr_ldap_err_t **result_err);
- apr_status_t (*rebind_init)(apr_pool_t *pool);
- apr_status_t (*rebind_add)(apr_pool_t *pool, LDAP *ld,
- const char *bindDN, const char *bindPW);
- apr_status_t (*rebind_remove)(LDAP *ld);
-};
-
-#endif /* APR_HAS_LDAP */
+apr_status_t apu_dso_load(apr_dso_handle_t **dso, apr_dso_handle_sym_t *dsoptr,
+ const char *module, const char *modsym,
+ apr_pool_t *pool);
#ifdef __cplusplus
}