]> granicus.if.org Git - apache/commit
Fix load order dependencies in LDAP code by switching to use of APR
authorJoe Orton <jorton@apache.org>
Mon, 27 Jun 2011 09:27:04 +0000 (09:27 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 27 Jun 2011 09:27:04 +0000 (09:27 +0000)
commit559c6ae0189ae365e4cd68a24948c1c58bc2457a
tree4415805ddf35a658fed4503fb6b96cfb19bac7fd
parent96d20eaf2ea95db21e489233a7c2fcca1c3d942b
Fix load order dependencies in LDAP code by switching to use of APR
optional functions for the inter-module API:

* modules/ldap/ldap_private.h: New file, containing "real" function
  declarations, copied from...

* include/ap_ldap.h.in, include/ap_ldap_url.h,
  include/ap_ldap_option.h, include/ap_ldap_init.h,
  include/ap_ldap_rebind.h: ... here.  All declarations changed to APR
  optional function declarations.

* modules/ldap/util_ldap.c (util_ldap_register_hooks): Register all
  the new optional functions.

* modules/aaa/mod_authnz_ldap.c (ImportULDAPOptFn): Pick up optional
  function stub for ap_ldap_url_parse.
  (mod_auth_ldap_parse_url): Use it here.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1140069 13f79535-47bb-0310-9956-ffa450edef68
include/ap_ldap.h.in
include/ap_ldap.hw
include/ap_ldap_init.h
include/ap_ldap_option.h
include/ap_ldap_rebind.h
include/ap_ldap_url.h
modules/aaa/mod_authnz_ldap.c
modules/ldap/ldap_private.h [new file with mode: 0644]
modules/ldap/util_ldap.c