亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? apr_hooks.h

?? Apache_2.0.59-Openssl_0.9 配置tomcat. Apache_2.0.59-Openssl_0.9 配置tomcat.
?? H
字號:
/* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
 * applicable.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef APR_HOOKS_H
#define APR_HOOKS_H

#include "apu.h"
/* For apr_array_header_t */
#include "apr_tables.h"

/**
 * @file apr_hooks.h
 * @brief Apache hook functions
 */

#ifdef __cplusplus
extern "C" {
#endif
/**
 * @defgroup APR_Util_Hook Hook Functions
 * @ingroup APR_Util
 * @{
 */
/** macro to return the prototype of the hook function */    
#define APR_IMPLEMENT_HOOK_GET_PROTO(ns,link,name) \
link##_DECLARE(apr_array_header_t *) ns##_hook_get_##name(void)

/** macro to declare the hook correctly */    
#define APR_DECLARE_EXTERNAL_HOOK(ns,link,ret,name,args) \
typedef ret ns##_HOOK_##name##_t args; \
link##_DECLARE(void) ns##_hook_##name(ns##_HOOK_##name##_t *pf, \
                                      const char * const *aszPre, \
                                      const char * const *aszSucc, int nOrder); \
link##_DECLARE(ret) ns##_run_##name args; \
APR_IMPLEMENT_HOOK_GET_PROTO(ns,link,name); \
typedef struct ns##_LINK_##name##_t \
    { \
    ns##_HOOK_##name##_t *pFunc; \
    const char *szName; \
    const char * const *aszPredecessors; \
    const char * const *aszSuccessors; \
    int nOrder; \
    } ns##_LINK_##name##_t;

/** macro to declare the hook structure */    
#define APR_HOOK_STRUCT(members) \
static struct { members } _hooks;

/** macro to link the hook structure */
#define APR_HOOK_LINK(name) \
    apr_array_header_t *link_##name;

/** macro to implement the hook */
#define APR_IMPLEMENT_EXTERNAL_HOOK_BASE(ns,link,name) \
link##_DECLARE(void) ns##_hook_##name(ns##_HOOK_##name##_t *pf,const char * const *aszPre, \
                                      const char * const *aszSucc,int nOrder) \
    { \
    ns##_LINK_##name##_t *pHook; \
    if(!_hooks.link_##name) \
	{ \
	_hooks.link_##name=apr_array_make(apr_hook_global_pool,1,sizeof(ns##_LINK_##name##_t)); \
	apr_hook_sort_register(#name,&_hooks.link_##name); \
	} \
    pHook=apr_array_push(_hooks.link_##name); \
    pHook->pFunc=pf; \
    pHook->aszPredecessors=aszPre; \
    pHook->aszSuccessors=aszSucc; \
    pHook->nOrder=nOrder; \
    pHook->szName=apr_hook_debug_current; \
    if(apr_hook_debug_enabled) \
	apr_hook_debug_show(#name,aszPre,aszSucc); \
    } \
    APR_IMPLEMENT_HOOK_GET_PROTO(ns,link,name) \
    { \
        return _hooks.link_##name; \
    }

/**
 * Implement a hook that has no return code, and therefore runs all of the
 * registered functions
 * @param ns The namespace prefix of the hook functions
 * @param link The linkage declaration prefix of the hook
 * @param name The name of the hook
 * @param args_decl The declaration of the arguments for the hook
 * @param args_use The names for the arguments for the hook
 * @note The link prefix FOO corresponds to FOO_DECLARE() macros, which
 * provide export linkage from the module that IMPLEMENTs the hook, and
 * import linkage from external modules that link to the hook's module.
 */
#define APR_IMPLEMENT_EXTERNAL_HOOK_VOID(ns,link,name,args_decl,args_use) \
APR_IMPLEMENT_EXTERNAL_HOOK_BASE(ns,link,name) \
link##_DECLARE(void) ns##_run_##name args_decl \
    { \
    ns##_LINK_##name##_t *pHook; \
    int n; \
\
    if(!_hooks.link_##name) \
	return; \
\
    pHook=(ns##_LINK_##name##_t *)_hooks.link_##name->elts; \
    for(n=0 ; n < _hooks.link_##name->nelts ; ++n) \
	pHook[n].pFunc args_use; \
    }

/* FIXME: note that this returns ok when nothing is run. I suspect it should
   really return decline, but that breaks Apache currently - Ben
*/
/**
 * Implement a hook that runs until one of the functions returns something
 * other than OK or DECLINE
 * @param ns The namespace prefix of the hook functions
 * @param link The linkage declaration prefix of the hook
 * @param ret Type to return
 * @param name The name of the hook
 * @param args_decl The declaration of the arguments for the hook
 * @param args_use The names for the arguments for the hook
 * @param ok Success value
 * @param decline Decline value
 * @note The link prefix FOO corresponds to FOO_DECLARE() macros, which
 * provide export linkage from the module that IMPLEMENTs the hook, and
 * import linkage from external modules that link to the hook's module.
 */
#define APR_IMPLEMENT_EXTERNAL_HOOK_RUN_ALL(ns,link,ret,name,args_decl,args_use,ok,decline) \
APR_IMPLEMENT_EXTERNAL_HOOK_BASE(ns,link,name) \
link##_DECLARE(ret) ns##_run_##name args_decl \
    { \
    ns##_LINK_##name##_t *pHook; \
    int n; \
    ret rv; \
\
    if(!_hooks.link_##name) \
	return ok; \
\
    pHook=(ns##_LINK_##name##_t *)_hooks.link_##name->elts; \
    for(n=0 ; n < _hooks.link_##name->nelts ; ++n) \
	{ \
	rv=pHook[n].pFunc args_use; \
\
	if(rv != ok && rv != decline) \
	    return rv; \
	} \
    return ok; \
    }


/**
 * Implement a hook that runs until the first function returns something
 * other than the value of decline
 * @param ns The namespace prefix of the hook functions
 * @param link The linkage declaration prefix of the hook
 * @param name The name of the hook
 * @param ret Type to return
 * @param args_decl The declaration of the arguments for the hook
 * @param args_use The names for the arguments for the hook
 * @param decline Decline value
 * @note The link prefix FOO corresponds to FOO_DECLARE() macros, which
 * provide export linkage from the module that IMPLEMENTs the hook, and
 * import linkage from external modules that link to the hook's module.
 */
#define APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST(ns,link,ret,name,args_decl,args_use,decline) \
APR_IMPLEMENT_EXTERNAL_HOOK_BASE(ns,link,name) \
link##_DECLARE(ret) ns##_run_##name args_decl \
    { \
    ns##_LINK_##name##_t *pHook; \
    int n; \
    ret rv; \
\
    if(!_hooks.link_##name) \
	return decline; \
\
    pHook=(ns##_LINK_##name##_t *)_hooks.link_##name->elts; \
    for(n=0 ; n < _hooks.link_##name->nelts ; ++n) \
	{ \
	rv=pHook[n].pFunc args_use; \
\
	if(rv != decline) \
	    return rv; \
	} \
    return decline; \
    }

    /* Hook orderings */
/** run this hook first, before ANYTHING */
#define APR_HOOK_REALLY_FIRST	(-10)
/** run this hook first */
#define APR_HOOK_FIRST		0
/** run this hook somewhere */
#define APR_HOOK_MIDDLE		10
/** run this hook after every other hook which is defined*/
#define APR_HOOK_LAST		20
/** run this hook last, after EVERYTHING */
#define APR_HOOK_REALLY_LAST	30

/**
 * The global pool used to allocate any memory needed by the hooks.
 */ 
APU_DECLARE_DATA extern apr_pool_t *apr_hook_global_pool;

/** @deprecated @see apr_hook_global_pool */
APU_DECLARE_DATA extern apr_pool_t *apr_global_hook_pool;

/**
 * A global variable to determine if debugging information about the
 * hooks functions should be printed
 */ 
APU_DECLARE_DATA extern int apr_hook_debug_enabled;

/** @deprecated @see apr_hook_debug_enabled */
APU_DECLARE_DATA extern int apr_debug_module_hooks;

/**
 * The name of the module that is currently registering a function
 */ 
APU_DECLARE_DATA extern const char *apr_hook_debug_current;

/** @deprecated @see apr_hook_debug_current */
APU_DECLARE_DATA extern const char *apr_current_hooking_module;

/**
 * Register a hook function to be sorted
 * @param szHookName The name of the Hook the function is registered for
 * @param aHooks The array which stores all of the functions for this hook
 */
APU_DECLARE(void) apr_hook_sort_register(const char *szHookName, 
                                        apr_array_header_t **aHooks);
/**
 * Sort all of the registerd functions for a given hook
 */
APU_DECLARE(void) apr_hook_sort_all(void);

/** @deprecated @see apr_hook_sort_all */
APU_DECLARE(void) apr_sort_hooks(void);

/**
 * Print all of the information about the current hook.  This is used for
 * debugging purposes.
 * @param szName The name of the hook
 * @param aszPre All of the functions in the predecessor array
 * @param aszSucc All of the functions in the successor array
 */
APU_DECLARE(void) apr_hook_debug_show(const char *szName,
                                      const char * const *aszPre,
                                      const char * const *aszSucc);

/** @deprecated @see apr_hook_debug_show */
APU_DECLARE(void) apr_show_hook(const char *szName,
                                const char * const *aszPre,
                                const char * const *aszSucc);

/**
 * Remove all currently registered functions.
 */
APU_DECLARE(void) apr_hook_deregister_all(void);

/** @} */
#ifdef __cplusplus
}
#endif

#endif /* APR_HOOKS_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美女一区二区久久| 亚洲人成伊人成综合网小说| 久久国产尿小便嘘嘘尿| 日韩欧美电影在线| 国产精品一区二区91| 国产欧美日本一区二区三区| jizzjizzjizz欧美| 亚洲在线中文字幕| 欧美一区二区三区在线视频 | 亚洲男同性视频| 欧美午夜精品电影| 蜜臀av性久久久久av蜜臀妖精| 欧美不卡一二三| 成人va在线观看| 亚洲一区二三区| 2021国产精品久久精品| 高清国产午夜精品久久久久久| 中文字幕一区二区日韩精品绯色| 欧美唯美清纯偷拍| 韩国精品在线观看| 亚洲婷婷国产精品电影人久久| 欧美日韩中文一区| 国产精品小仙女| 亚洲一二三四区| 日韩精品一区二区三区四区| 成人精品小蝌蚪| 青青青伊人色综合久久| 亚洲国产精品ⅴa在线观看| 欧美少妇一区二区| 成人性生交大片免费看视频在线| 亚洲成人av电影| 欧美国产成人精品| 5月丁香婷婷综合| www.日本不卡| 奇米综合一区二区三区精品视频 | 日韩精品自拍偷拍| 99精品偷自拍| 国产在线乱码一区二区三区| 一区二区成人在线视频 | 欧美一区二区久久久| 北条麻妃国产九九精品视频| 蜜桃一区二区三区在线观看| 亚洲欧美日韩电影| 国产肉丝袜一区二区| 欧美一区二区视频免费观看| 91丨porny丨国产入口| 久久99精品国产麻豆婷婷洗澡| 亚洲色图都市小说| 国产婷婷色一区二区三区| 国产成人av影院| 国产在线视频一区二区| 尤物视频一区二区| 欧美极品少妇xxxxⅹ高跟鞋 | 亚洲人午夜精品天堂一二香蕉| 欧美www视频| 欧美三级三级三级爽爽爽| 97se亚洲国产综合自在线观| 国产尤物一区二区| 免播放器亚洲一区| 亚洲国产欧美在线| 亚洲乱码精品一二三四区日韩在线| 国产日韩欧美a| 欧美大片在线观看一区| 欧美一区日韩一区| 欧美日韩国产小视频| 日本国产一区二区| 91麻豆免费看| 色呦呦国产精品| 97se亚洲国产综合自在线| 成人免费视频国产在线观看| 国产成人av影院| 欧美在线观看一二区| 亚洲国产aⅴ天堂久久| 欧美韩国日本综合| 国产婷婷色一区二区三区在线| 欧美大肚乱孕交hd孕妇| 日韩欧美综合在线| 日韩一区二区影院| 日韩欧美国产1| 久久一区二区三区四区| 欧美大度的电影原声| 精品国产制服丝袜高跟| 精品国产免费视频| 日韩欧美国产不卡| 久久久一区二区| www一区二区| 日本一区二区视频在线观看| 精品国产免费人成电影在线观看四季| 一本色道久久综合亚洲91| 国产.精品.日韩.另类.中文.在线.播放| 蜜桃视频在线一区| 国产精品77777竹菊影视小说| 国产一区二区毛片| 成人免费看片app下载| 91伊人久久大香线蕉| 色视频欧美一区二区三区| 在线精品视频免费观看| 欧美疯狂性受xxxxx喷水图片| 欧美一区二区三区色| www欧美成人18+| 亚洲欧美日韩在线播放| 午夜av区久久| 国产原创一区二区三区| 色悠悠亚洲一区二区| 欧美在线不卡视频| 欧美日韩精品系列| 久久综合九色综合欧美98| 成人中文字幕电影| 国产成人av电影| 在线精品视频免费观看| 日韩精品中午字幕| 国产精品欧美久久久久无广告| 亚洲人被黑人高潮完整版| 日韩—二三区免费观看av| 国产美女精品在线| 欧洲色大大久久| 精品精品国产高清一毛片一天堂| 国产精品国产三级国产a| 亚洲bdsm女犯bdsm网站| 国产一区二区在线视频| 欧美在线短视频| 久久日韩精品一区二区五区| 亚洲精品日韩一| 另类人妖一区二区av| 99久久久久久| 精品美女在线播放| 亚洲一区av在线| 国产精品一二三| 欧美久久一区二区| 综合激情成人伊人| 国模套图日韩精品一区二区| 91官网在线观看| 欧美激情一区在线| 天堂一区二区在线| 日韩美女视频在线| 国产亚洲制服色| 午夜精品123| 99re8在线精品视频免费播放| 91精品国产91久久久久久最新毛片 | 亚洲午夜免费电影| 成人aa视频在线观看| 日韩欧美一二三区| 亚洲国产裸拍裸体视频在线观看乱了| 国产精品亚洲专一区二区三区| 777午夜精品免费视频| 亚洲视频一区二区在线| 国产精品资源在线观看| 4438亚洲最大| 亚洲成人激情自拍| 在线观看成人小视频| 国产精品卡一卡二| 国产精品亚洲а∨天堂免在线| 日韩一区二区三区观看| 午夜伊人狠狠久久| 欧美专区在线观看一区| 亚洲三级免费电影| 91丨九色丨尤物| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆 | 亚洲午夜一区二区| 欧美综合视频在线观看| 综合av第一页| 91免费观看视频| 中文字幕免费观看一区| 成人av电影观看| 国产精品美女久久久久久 | 91丨九色丨蝌蚪丨老版| 综合久久给合久久狠狠狠97色 | 中文字幕一区二区三区在线不卡| 国产在线视频精品一区| 久久这里只有精品视频网| 国产中文一区二区三区| 精品少妇一区二区三区在线视频| 毛片av一区二区| 26uuu久久天堂性欧美| 国内精品伊人久久久久av一坑| 日韩欧美国产综合一区| 精品一区二区三区免费播放 | 国产精品入口麻豆九色| av色综合久久天堂av综合| 成人免费在线播放视频| 一本久道久久综合中文字幕| 亚洲永久免费视频| 91精品在线观看入口| 激情小说亚洲一区| 欧美国产丝袜视频| 91麻豆.com| 日韩在线一二三区| 精品久久国产字幕高潮| 国产成人精品午夜视频免费| 中文字幕中文字幕在线一区| 欧洲av一区二区嗯嗯嗯啊| 日本成人在线电影网| 久久精品一区蜜桃臀影院| 91亚洲男人天堂| 午夜国产不卡在线观看视频| 精品国产乱码久久久久久蜜臀 | 国产尤物一区二区在线| 久久久777精品电影网影网 | 成人一级黄色片| 亚洲精品中文在线影院|