Apache Portable Runtime Utility Library
Macros | Typedefs | Functions
apr_optional.h File Reference

APR-UTIL registration of functions exported by modules. More...

#include "apu.h"

Go to the source code of this file.

Macros

#define APR_OPTIONAL_FN_TYPE(name)   apr_OFN_##name##_t
 
#define APR_DECLARE_OPTIONAL_FN(ret, name, args)   typedef ret (APR_OPTIONAL_FN_TYPE(name)) args
 
#define APR_REGISTER_OPTIONAL_FN(name)
 
#define APR_RETRIEVE_OPTIONAL_FN(name)   (APR_OPTIONAL_FN_TYPE(name) *)apr_dynamic_fn_retrieve(#name)
 

Typedefs

typedef void( apr_opt_fn_t) (void)
 

Functions

void apr_dynamic_fn_register (const char *szName, apr_opt_fn_t *pfn)
 
apr_opt_fn_tapr_dynamic_fn_retrieve (const char *szName)
 

Detailed Description

APR-UTIL registration of functions exported by modules.