26 #ifndef _MOD_INCLUDE_H
27 #define _MOD_INCLUDE_H 1
35 #define SSI_VALUE_DECODED 1
36 #define SSI_VALUE_RAW 0
41 #define SSI_EXPAND_LEAVE_NAME 1
42 #define SSI_EXPAND_DROP_NAME 0
48 #define SSI_CREATE_ERROR_BUCKET(ctx, f, bb) APR_BRIGADE_INSERT_TAIL((bb), \
49 apr_bucket_pool_create(apr_pstrdup((ctx)->pool, (ctx)->error_str), \
50 strlen((ctx)->error_str), (ctx)->pool, \
51 (f)->c->bucket_alloc))
56 #define SSI_FLAG_PRINTING (1<<0)
57 #define SSI_FLAG_COND_TRUE (1<<1)
58 #define SSI_FLAG_SIZE_IN_BYTES (1<<2)
59 #define SSI_FLAG_NO_EXEC (1<<3)
61 #define SSI_FLAG_SIZE_ABBREV (~(SSI_FLAG_SIZE_IN_BYTES))
62 #define SSI_FLAG_CLEAR_PRINT_COND (~((SSI_FLAG_PRINTING) | \
63 (SSI_FLAG_COND_TRUE)))
64 #define SSI_FLAG_CLEAR_PRINTING (~(SSI_FLAG_PRINTING))
APR-UTIL registration of functions exported by modules.
#define APR_DECLARE_OPTIONAL_FN(ret, name, args)
Definition: apr_optional.h:50
void ap_register_include_handler(char *tag, include_handler_fn_t *func)
char * ap_ssi_parse_string(include_ctx_t *ctx, const char *in, char *out, apr_size_t length, int leave_name)
void ap_ssi_get_tag_and_value(include_ctx_t *ctx, char **tag, char **tag_val, int dodecode)
apr_status_t() include_handler_fn_t(include_ctx_t *, ap_filter_t *, apr_bucket_brigade *)
Definition: mod_include.h:105
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
The representation of a filter chain.
Definition: util_filter.h:278
Definition: apr_buckets.h:263
Definition: mod_include.h:69
int flush_now
Definition: mod_include.h:86
int if_nesting_level
Definition: mod_include.h:80
request_rec * r
Definition: mod_include.h:98
int flags
Definition: mod_include.h:77
const char * error_str
Definition: mod_include.h:92
apr_pool_t * dpool
Definition: mod_include.h:74
unsigned argc
Definition: mod_include.h:89
struct ssi_internal_ctx * intern
Definition: mod_include.h:101
const char * time_str
Definition: mod_include.h:95
apr_pool_t * pool
Definition: mod_include.h:71
A structure that represents the current request.
Definition: httpd.h:856