#include "httpd.h"
#include "http_config.h"
#include "http_core.h"
#include "http_log.h"
#include "http_main.h"
#include "http_protocol.h"
#include "http_request.h"
#include "util_charset.h"
#include "apr_buckets.h"
#include "util_filter.h"
#include "apr_strings.h"
#include "apr_lib.h"
#include "apr_xlate.h"
#include "apr_want.h"
Go to the source code of this file.
|
| static void * | create_charset_dir_conf (apr_pool_t *p, char *dummy) |
| |
| static void * | merge_charset_dir_conf (apr_pool_t *p, void *basev, void *overridesv) |
| |
| static const char * | add_charset_source (cmd_parms *cmd, void *in_dc, const char *name) |
| |
| static const char * | add_charset_default (cmd_parms *cmd, void *in_dc, const char *name) |
| |
| static const char * | add_charset_options (cmd_parms *cmd, void *in_dc, const char *flag) |
| |
| static int | find_code_page (request_rec *r) |
| |
| static int | configured_in_list (request_rec *r, const char *filter_name, struct ap_filter_t *filter_list) |
| |
| static int | configured_on_input (request_rec *r, const char *filter_name) |
| |
| static int | configured_on_output (request_rec *r, const char *filter_name) |
| |
| static void | xlate_insert_filter (request_rec *r) |
| |
| static apr_status_t | send_bucket_downstream (ap_filter_t *f, apr_bucket *b) |
| |
| static apr_status_t | send_downstream (ap_filter_t *f, const char *tmp, apr_size_t len) |
| |
| static apr_status_t | send_eos (ap_filter_t *f) |
| |
| static apr_status_t | set_aside_partial_char (charset_filter_ctx_t *ctx, const char *partial, apr_size_t partial_len) |
| |
| static apr_status_t | finish_partial_char (charset_filter_ctx_t *ctx, const char **cur_str, apr_size_t *cur_len, char **out_str, apr_size_t *out_len) |
| |
| static void | log_xlate_error (ap_filter_t *f, apr_status_t rv) |
| |
| static void | chk_filter_chain (ap_filter_t *f) |
| |
| static apr_status_t | xlate_brigade (charset_filter_ctx_t *ctx, apr_bucket_brigade *bb, char *buffer, apr_size_t *buffer_avail, int *hit_eos) |
| |
| static apr_status_t | xlate_out_filter (ap_filter_t *f, apr_bucket_brigade *bb) |
| |
| static apr_status_t | xlate_in_filter (ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) |
| |
| static void | charset_register_hooks (apr_pool_t *p) |
| |
◆ APR_WANT_STRFUNC
◆ FATTEST_CHAR
◆ INPUT_XLATE_BUF_SIZE
◆ OUTPUT_XLATE_BUF_SIZE
◆ XLATE_MIN_BUFF_LEFT
◆ XLATEIN_FILTER_NAME
| #define XLATEIN_FILTER_NAME "XLATEIN" |
◆ XLATEOUT_FILTER_NAME
| #define XLATEOUT_FILTER_NAME "XLATEOUT" |
◆ charset_dir_t
◆ charset_filter_ctx_t
◆ charset_req_t
◆ ees_t
| Enumerator |
|---|
| EES_INIT | |
| EES_LIMIT | |
| EES_INCOMPLETE_CHAR | |
| EES_BUCKET_READ | |
| EES_DOWNSTREAM | |
| EES_BAD_INPUT | |
Definition at line 54 of file mod_charset_lite.c.
◆ add_charset_default()
◆ add_charset_options()
◆ add_charset_source()
◆ charset_register_hooks()
◆ chk_filter_chain()
◆ configured_in_list()
◆ configured_on_input()
◆ configured_on_output()
◆ create_charset_dir_conf()
◆ find_code_page()
< Module declines to handle
< Module declines to handle
< Module declines to handle
< Module declines to handle
< Module declines to handle
Definition at line 189 of file mod_charset_lite.c.
◆ finish_partial_char()
◆ log_xlate_error()
◆ merge_charset_dir_conf()
| static void * merge_charset_dir_conf |
( |
apr_pool_t * |
p, |
|
|
void * |
basev, |
|
|
void * |
overridesv |
|
) |
| |
|
static |
◆ send_bucket_downstream()
◆ send_downstream()
◆ send_eos()
◆ set_aside_partial_char()
◆ xlate_brigade()
◆ xlate_in_filter()
◆ xlate_insert_filter()
◆ xlate_out_filter()
◆ aplog_module_index
| int* const aplog_module_index = &( charset_lite_module.module_index) |
|
static |
◆ cmds
Initial value:=
{
{
"CharsetOptions" ,
add_charset_options ,
NULL , 4 ,
ITERATE,
"valid options: ImplicitAdd, NoImplicitAdd, TranslateAllMimeTypes, " "NoTranslateAllMimeTypes" },
}
static const char * add_charset_source(cmd_parms *cmd, void *in_dc, const char *name)
static const char * add_charset_options(cmd_parms *cmd, void *in_dc, const char *flag)
static const char * add_charset_default(cmd_parms *cmd, void *in_dc, const char *name)
Definition at line 1097 of file mod_charset_lite.c.