张 臻博 wrote: > hello > > I am reading the code of apache. Is there anybody who knows whether > ap_run_pre_connection() and ap_run_process_connection() are functions or > macro? and where is the definition for those two , as i can not find any > detailed code for them? > > Can anybody give me a hint? Thanks a lot!!! > > br > frankie
They are a part of the expansion result of macro APR_DECLARE_EXTERNAL_HOOK and APR_IMPLEMENT_EXTERNAL_HOOK_*. You can find the the definition of these macros in ./srclib/apr-util/include/apr_hooks.h
