17 #ifndef APR_OPTIONAL_H
18 #define APR_OPTIONAL_H
42 #define APR_OPTIONAL_FN_TYPE(name) apr_OFN_##name##_t
50 #define APR_DECLARE_OPTIONAL_FN(ret,name,args) \
51 typedef ret (APR_OPTIONAL_FN_TYPE(name)) args
70 #define APR_REGISTER_OPTIONAL_FN(name) do { \
71 APR_OPTIONAL_FN_TYPE(name) *apu__opt = name; \
72 apr_dynamic_fn_register(#name,(apr_opt_fn_t *)apu__opt); \
84 #define APR_RETRIEVE_OPTIONAL_FN(name) \
85 (APR_OPTIONAL_FN_TYPE(name) *)apr_dynamic_fn_retrieve(#name)
void( apr_opt_fn_t)(void)
Definition: apr_optional.h:59