Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mod_include
Collaboration diagram for mod_include:

Data Structures

struct  include_ctx_t
 

Macros

#define SSI_VALUE_DECODED   1
 
#define SSI_VALUE_RAW   0
 
#define SSI_EXPAND_LEAVE_NAME   1
 
#define SSI_EXPAND_DROP_NAME   0
 
#define SSI_CREATE_ERROR_BUCKET(ctx, f, bb)
 
#define SSI_FLAG_PRINTING   (1<<0) /* Printing conditional lines. */
 
#define SSI_FLAG_COND_TRUE   (1<<1) /* Conditional eval'd to true. */
 
#define SSI_FLAG_SIZE_IN_BYTES   (1<<2) /* Sizes displayed in bytes. */
 
#define SSI_FLAG_NO_EXEC   (1<<3) /* No Exec in current context. */
 
#define SSI_FLAG_SIZE_ABBREV   (~(SSI_FLAG_SIZE_IN_BYTES))
 
#define SSI_FLAG_CLEAR_PRINT_COND
 
#define SSI_FLAG_CLEAR_PRINTING   (~(SSI_FLAG_PRINTING))
 

Typedefs

typedef apr_status_tinclude_handler_fn_t )(include_ctx_t *, ap_filter_t *, apr_bucket_brigade *)
 

Functions

void ap_ssi_get_tag_and_value (include_ctx_t *ctx, char **tag, char **tag_val, int dodecode)
 
char * ap_ssi_parse_string (include_ctx_t *ctx, const char *in, char *out, apr_size_t length, int leave_name)
 
void ap_register_include_handler (char *tag, include_handler_fn_t *func)
 

Detailed Description

Macro Definition Documentation

#define SSI_CREATE_ERROR_BUCKET (   ctx,
  f,
  bb 
)
Value:
apr_bucket_pool_create(apr_pstrdup((ctx)->pool, (ctx)->error_str), \
strlen((ctx)->error_str), (ctx)->pool, \
(f)->c->bucket_alloc))
apr_bucket apr_bucket apr_bucket apr_bucket apr_bucket apr_bucket apr_bucket * apr_bucket_pool_create(const char *buf, apr_size_t length, apr_pool_t *pool, apr_bucket_alloc_t *list) __attribute__((nonnull(1
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:556
apr_bucket_alloc_t * bucket_alloc
Definition: apr_buckets.h:275
apr_bucket_brigade * bb
Definition: mod_dav.h:556
#define APR_BRIGADE_INSERT_TAIL(b, e)
Definition: apr_buckets.h:372
char * apr_pstrdup(apr_pool_t *p, const char *s)
#define SSI_EXPAND_DROP_NAME   0
#define SSI_EXPAND_LEAVE_NAME   1
#define SSI_FLAG_CLEAR_PRINT_COND
Value:
#define SSI_FLAG_PRINTING
Definition: mod_include.h:56
#define SSI_FLAG_COND_TRUE
Definition: mod_include.h:57
#define SSI_FLAG_CLEAR_PRINTING   (~(SSI_FLAG_PRINTING))
#define SSI_FLAG_COND_TRUE   (1<<1) /* Conditional eval'd to true. */
#define SSI_FLAG_NO_EXEC   (1<<3) /* No Exec in current context. */
#define SSI_FLAG_PRINTING   (1<<0) /* Printing conditional lines. */
#define SSI_FLAG_SIZE_ABBREV   (~(SSI_FLAG_SIZE_IN_BYTES))
#define SSI_FLAG_SIZE_IN_BYTES   (1<<2) /* Sizes displayed in bytes. */
#define SSI_VALUE_DECODED   1
#define SSI_VALUE_RAW   0

Typedef Documentation

typedef apr_status_t( include_handler_fn_t)(include_ctx_t *, ap_filter_t *, apr_bucket_brigade *)

Function Documentation

void ap_register_include_handler ( char *  tag,
include_handler_fn_t func 
)
void ap_ssi_get_tag_and_value ( include_ctx_t ctx,
char **  tag,
char **  tag_val,
int  dodecode 
)
char* ap_ssi_parse_string ( include_ctx_t ctx,
const char *  in,
char *  out,
apr_size_t  length,
int  leave_name 
)