Re: mod_authz_dbd question

2015-05-05 Thread Mark Taylor
Eric, thanks for pointing that out.

-Mark

On Mon, May 4, 2015 at 3:34 PM, Eric Covener cove...@gmail.com wrote:

 These are similar to the hooks that the core uses from APR in every
 module. Everyone who has registered with authz_dbd_hook_client_login
 gets called until someone returns an error.

 Check out the expansion of these macros in apr_hooks.h:

 APR_DECLARE_EXTERNAL_HOOK
 APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL


 I am not sure how usable this def is, since authz_dbd.h doesn't seem
 to be a public/installed header.


 On Mon, May 4, 2015 at 4:27 PM, Mark Taylor mtt...@gmail.com wrote:
  Hi,
 
  I'm researching mod_authz_dbd.c and looking at the authz_dbd_login()
  function.  Near its end, this function calls
 authz_dbd_run_client_login(),
  but I can't find where this function is defined:
 
  httpd-2.4.12# grep -r authz_dbd_run_client_login .
 
  returns no results other than modules/aaa/mod_authz_dbd.c.  Does anyone
  know where this function may be defined?
 
  Thanks,
  Mark



 --
 Eric Covener
 cove...@gmail.com



mod_authz_dbd question

2015-05-04 Thread Mark Taylor
Hi,

I'm researching mod_authz_dbd.c and looking at the authz_dbd_login()
function.  Near its end, this function calls authz_dbd_run_client_login(),
but I can't find where this function is defined:

httpd-2.4.12# grep -r authz_dbd_run_client_login .

returns no results other than modules/aaa/mod_authz_dbd.c.  Does anyone
know where this function may be defined?

Thanks,
Mark


Re: mod_authz_dbd question

2015-05-04 Thread Eric Covener
These are similar to the hooks that the core uses from APR in every
module. Everyone who has registered with authz_dbd_hook_client_login
gets called until someone returns an error.

Check out the expansion of these macros in apr_hooks.h:

APR_DECLARE_EXTERNAL_HOOK
APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL


I am not sure how usable this def is, since authz_dbd.h doesn't seem
to be a public/installed header.


On Mon, May 4, 2015 at 4:27 PM, Mark Taylor mtt...@gmail.com wrote:
 Hi,

 I'm researching mod_authz_dbd.c and looking at the authz_dbd_login()
 function.  Near its end, this function calls authz_dbd_run_client_login(),
 but I can't find where this function is defined:

 httpd-2.4.12# grep -r authz_dbd_run_client_login .

 returns no results other than modules/aaa/mod_authz_dbd.c.  Does anyone
 know where this function may be defined?

 Thanks,
 Mark



-- 
Eric Covener
cove...@gmail.com