/httpd/modules/apreq/ |
H A D | filter.c | 113 struct filter_ctx *ctx = f->ctx; local 119 ctx->body_status = APREQ_ERROR_NODATA; 132 ctx->body_status = APREQ_ERROR_BADHEADER; 135 else if (content_length > ctx->read_limit) { 139 cl_header, ctx->read_limit); 140 ctx->body_status = APREQ_ERROR_OVERLIMIT; 145 if (ctx->parser == NULL) { 152 ctx->parser = apreq_parser_make(r->pool, ba, ct_header, pf, 153 ctx 211 struct filter_ctx *ctx = f->ctx; local 256 struct filter_ctx *ctx = f->ctx; local 335 struct filter_ctx *ctx; local 471 struct filter_ctx *ctx; local [all...] |
H A D | handle.c | 139 struct filter_ctx *ctx; local 141 if (f->ctx == NULL) 144 ctx = f->ctx; 146 switch (ctx->body_status) { 150 if (ctx->body_status != APR_INCOMPLETE) 158 *t = ctx->body; 159 return ctx->body_status; 165 struct filter_ctx *ctx; local 170 if (f->ctx 246 struct filter_ctx *ctx = f->ctx; local 261 struct filter_ctx *ctx; local 283 struct filter_ctx *ctx; local 311 struct filter_ctx *ctx; local 331 struct filter_ctx *ctx; local 346 struct filter_ctx *ctx; local 366 struct filter_ctx *ctx; local 381 struct filter_ctx *ctx; local 402 struct filter_ctx *ctx; local [all...] |
/httpd/support/ |
H A D | passwd_common.c | 120 int get_password(struct passwd_ctx *ctx) argument 123 if (ctx->passwd_src == PW_STDIN) { 126 if (apr_file_open_stdin(&file_stdin, ctx->pool) != APR_SUCCESS) { 127 ctx->errstr = "Unable to read from stdin."; 142 ctx->passwd = apr_pstrdup(ctx->pool, buf); 144 else if (ctx->passwd_src == PW_PROMPT_VERIFY) { 148 ctx->passwd = apr_pstrdup(ctx->pool, buf); 154 ctx 179 mkhash(struct passwd_ctx *ctx) argument 281 parse_common_options(struct passwd_ctx *ctx, char opt, const char *opt_arg) argument [all...] |
/httpd/modules/filters/ |
H A D | mod_sed.c | 83 static void clear_ctxpool(sed_filter_ctxt* ctx) argument 85 apr_pool_clear(ctx->tpool); 86 ctx->outbuf = NULL; 87 ctx->curoutbuf = NULL; 88 ctx->numbuckets = 0; 94 static void alloc_outbuf(sed_filter_ctxt* ctx) argument 96 ctx->outbuf = apr_palloc(ctx->tpool, ctx->bufsize + 1); 97 ctx 103 append_bucket(sed_filter_ctxt* ctx, char* buf, int sz) argument 134 flush_output_buffer(sed_filter_ctxt *ctx) argument 157 sed_filter_ctxt *ctx = (sed_filter_ctxt *) dummy; local 236 sed_filter_ctxt* ctx; local 274 sed_filter_ctxt *ctx = f->ctx; local 380 sed_filter_ctxt *ctx = f->ctx; local [all...] |
H A D | mod_data.c | 69 data_ctx *ctx = f->ctx; local 73 if (!ctx) { 88 ctx = f->ctx = apr_pcalloc(r->pool, sizeof(*ctx)); 89 ctx->bb = apr_brigade_create(r->pool, f->c->bucket_alloc); 103 apr_brigade_printf(ctx->bb, NULL, NULL, "data:%s%s;base64,", 109 apr_brigade_length(ctx->bb, 1, &len); 136 char encoded[((sizeof(ctx [all...] |
H A D | mod_proxy_html.c | 150 #define consume_buffer(ctx,inbuf,bytes,flag) \ 151 htmlParseChunk(ctx->parser, inbuf, bytes, flag) 153 #define AP_fwrite(ctx,inbuf,bytes,flush) \ 154 ap_fwrite(ctx->f->next, ctx->bb, inbuf, bytes); 157 #define FLUSH AP_fwrite(ctx, (chars+begin), (i-begin), 0); begin = i+1 161 saxctxt *ctx = (saxctxt*) ctxt; local 166 case '&' : FLUSH; ap_fputs(ctx->f->next, ctx->bb, "&"); break; 167 case '<' : FLUSH; ap_fputs(ctx 176 preserve(saxctxt *ctx, const size_t len) argument 195 pappend(saxctxt *ctx, const char *buf, const size_t len) argument 202 dump_content(saxctxt *ctx) argument 287 saxctxt* ctx = (saxctxt*) ctxt; local 314 saxctxt *ctx = (saxctxt*) ctxt; local 328 saxctxt *ctx = (saxctxt*) ctxt; local 346 saxctxt *ctx = (saxctxt*) ctxt; local 386 saxctxt *ctx = (saxctxt*) ctxt; local 778 fixup_rules(saxctxt *ctx) argument [all...] |
H A D | mod_xml2enc.c | 86 /* set up a ready-initialised ctx to convert to enc, and insert filter */ 108 xml2ctx* ctx = apr_pcalloc(r->pool, sizeof(xml2ctx)); local 109 ctx->flags = flags; 111 ctx->convset = convset; 112 ctx->bblen = BUFLEN; 113 ctx->buf = apr_palloc(r->pool, (apr_size_t)ctx->bblen); 115 ap_add_output_filter("xml2enc", ctx, r, r->connection); 126 static void fix_skipto(request_rec* r, xml2ctx* ctx) argument 130 if ((cfg->skipto != NULL) && (ctx 164 sniff_encoding(request_rec* r, xml2ctx* ctx) argument 287 xml2ctx* ctx; local 301 xml2ctx* ctx = f->ctx; local 530 xml2ctx* ctx = ap_get_module_config(r->request_config, &xml2enc_module); local [all...] |
H A D | mod_buffer.c | 58 buffer_ctx *ctx = f->ctx; local 63 if (!ctx) { 74 ctx = f->ctx = apr_pcalloc(r->pool, sizeof(*ctx)); 75 ctx->bb = apr_brigade_create(r->pool, f->c->bucket_alloc); 76 ctx->conf = ap_get_module_config(f->r->per_dir_config, &buffer_module); 86 if (APR_BRIGADE_EMPTY(ctx->bb)) { 104 APR_BRIGADE_INSERT_TAIL(ctx 193 buffer_ctx *ctx = f->ctx; local [all...] |
H A D | mod_deflate.c | 416 /* Do not update ctx->crc, see comment in flush_libz_buffer */ 418 /* Do update ctx->crc, see comment in flush_libz_buffer */ 421 static void consume_buffer(deflate_ctx *ctx, deflate_filter_config *c, argument 427 * Do we need to update ctx->crc? Usually this is the case for 432 ctx->crc = crc32(ctx->crc, (const Bytef *)ctx->buffer, len); 435 b = apr_bucket_heap_create((char *)ctx->buffer, len, NULL, 439 ctx->stream.next_out = ctx 443 flush_libz_buffer(deflate_ctx *ctx, deflate_filter_config *c, int (*libz_func)(z_streamp, int), int flush, int crc) argument 489 deflate_ctx *ctx = (deflate_ctx *)data; local 538 check_ratio(request_rec *r, deflate_ctx *ctx, const deflate_dirconf_t *dc) argument 570 deflate_ctx *ctx = f->ctx; local 1019 consume_zlib_flags(deflate_ctx *ctx, const char **data, apr_size_t *len) argument 1118 deflate_ctx *ctx = f->ctx; local 1517 deflate_ctx *ctx = f->ctx; local [all...] |
H A D | mod_include.h | 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, \ 109 (include_ctx_t *ctx, char **tag, char **tag_val, 113 (include_ctx_t *ctx, const char *in, char *out,
|
H A D | mod_ratelimit.c | 62 rl_ctx_t *ctx = f->ctx; local 74 if (ctx == NULL) { 101 ctx = apr_palloc(f->r->pool, sizeof(rl_ctx_t)); 102 f->ctx = ctx; 103 ctx->state = RATE_LIMIT; 104 ctx->speed = ratelimit; 108 ctx->chunk_size = (ctx [all...] |
/httpd/server/ |
H A D | apreq_parser_multipart.c | 31 if (ctx->status == PREFIX##_ERROR) \ 33 else if (ctx->status == PREFIX##_COMPLETE) \ 223 struct mfd_ctx *ctx = apr_palloc(pool, sizeof *ctx); local 232 (const char **)&ctx->bdry, &blen); 237 ctx->bdry[blen] = 0; 239 *--ctx->bdry = '-'; 240 *--ctx->bdry = '-'; 241 *--ctx->bdry = '\n'; 242 *--ctx 266 struct mfd_ctx *ctx = parser->ctx; local [all...] |
H A D | util_expr_eval.c | 57 static const char *ap_expr_eval_string_func(ap_expr_eval_ctx_t *ctx, 60 static const char *ap_expr_eval_re_backref(ap_expr_eval_ctx_t *ctx, 62 static const char *ap_expr_eval_var(ap_expr_eval_ctx_t *ctx, 78 static int inc_rec(ap_expr_eval_ctx_t *ctx) argument 80 if (ctx->reclvl < AP_EXPR_MAX_RECURSION) { 81 ctx->reclvl++; 84 *ctx->err = "Recursion limit reached"; 86 ctx->reclvl = INT_MAX; 90 static const char *ap_expr_eval_word(ap_expr_eval_ctx_t *ctx, argument 94 if (inc_rec(ctx)) 186 ap_expr_eval_var(ap_expr_eval_ctx_t *ctx, ap_expr_var_func_t *func, const void *data) argument 195 ap_expr_eval_re_backref(ap_expr_eval_ctx_t *ctx, unsigned int n) argument 210 ap_expr_eval_string_func(ap_expr_eval_ctx_t *ctx, const ap_expr_t *info, const ap_expr_t *arg) argument 252 ap_expr_eval_comp(ap_expr_eval_ctx_t *ctx, const ap_expr_t *node) argument 364 ssl_expr_eval_comp(ap_expr_eval_ctx_t *ctx, const ap_expr_t *node) argument 401 ap_expr_parse_ctx_t ctx; local 466 ap_expr_make(ap_expr_node_op_e op, const void *a1, const void *a2, ap_expr_parse_ctx_t *ctx) argument 476 ap_expr_info_make(int type, const char *name, ap_expr_parse_ctx_t *ctx, const ap_expr_t *arg) argument 514 ap_expr_str_func_make(const char *name, const ap_expr_t *arg, ap_expr_parse_ctx_t *ctx) argument 525 ap_expr_list_func_make(const char *name, const ap_expr_t *arg, ap_expr_parse_ctx_t *ctx) argument 536 ap_expr_unary_op_make(const char *name, const ap_expr_t *arg, ap_expr_parse_ctx_t *ctx) argument 547 ap_expr_binary_op_make(const char *name, const ap_expr_t *arg1, const ap_expr_t *arg2, ap_expr_parse_ctx_t *ctx) argument 562 ap_expr_var_make(const char *name, ap_expr_parse_ctx_t *ctx) argument 742 ap_expr_eval_unary_op(ap_expr_eval_ctx_t *ctx, const ap_expr_t *info, const ap_expr_t *arg) argument 754 ap_expr_eval_binary_op(ap_expr_eval_ctx_t *ctx, const ap_expr_t *info, const ap_expr_t *args) argument 772 ap_expr_eval(ap_expr_eval_ctx_t *ctx, const ap_expr_t *node) argument 857 ap_expr_exec_ctx(ap_expr_eval_ctx_t *ctx) argument 915 ap_expr_eval_ctx_t ctx; local 950 ap_expr_eval_ctx_t ctx; local 1007 add_vary(ap_expr_eval_ctx_t *ctx, const char *name) argument 1021 req_table_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1050 env_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1064 osenv_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1070 tolower_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1078 toupper_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1086 escape_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1092 base64_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1098 unbase64_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1104 sha1_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1122 md5_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1129 ldap_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1151 replace_func(ap_expr_eval_ctx_t *ctx, const void *data, const apr_array_header_t *args) argument 1191 file_func(ap_expr_eval_ctx_t *ctx, const void *data, char *arg) argument 1235 filesize_func(ap_expr_eval_ctx_t *ctx, const void *data, char *arg) argument 1246 filemod_func(ap_expr_eval_ctx_t *ctx, const void *data, char *arg) argument 1258 unescape_func(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1272 op_nz(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1281 op_file_min(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1302 op_file_link(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1314 op_file_xbit(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1324 op_url_subr(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1346 op_file_subr(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1379 conn_var_fn(ap_expr_eval_ctx_t *ctx, const void *data) argument 1451 request_var_fn(ap_expr_eval_ctx_t *ctx, const void *data) argument 1582 req_header_var_fn(ap_expr_eval_ctx_t *ctx, const void *data) argument 1611 misc_var_fn(ap_expr_eval_ctx_t *ctx, const void *data) argument 1679 op_ipmatch(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg1, const char *arg2) argument 1694 op_R(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg1) argument 1706 op_T(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg) argument 1727 op_fnmatch(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg1, const char *arg2) argument 1733 op_strmatch(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg1, const char *arg2) argument 1739 op_strcmatch(ap_expr_eval_ctx_t *ctx, const void *data, const char *arg1, const char *arg2) argument [all...] |
H A D | util_expr_parse.y | 29 %parse-param { ap_expr_parse_ctx_t *ctx } 104 #define yyscanner ctx->scanner 112 root : T_EXPR_BOOL expr { ctx->expr = $2; } 113 | T_EXPR_STRING string { ctx->expr = $2; } 117 expr : T_TRUE { $$ = ap_expr_make(op_True, NULL, NULL, ctx); } 118 | T_FALSE { $$ = ap_expr_make(op_False, NULL, NULL, ctx); } 119 | T_OP_NOT expr { $$ = ap_expr_make(op_Not, $2, NULL, ctx); } 120 | expr T_OP_OR expr { $$ = ap_expr_make(op_Or, $1, $3, ctx); } 121 | expr T_OP_AND expr { $$ = ap_expr_make(op_And, $1, $3, ctx); } 122 | comparison { $$ = ap_expr_make(op_Comp, $1, NULL, ctx); } [all...] |
H A D | apreq_parser_header.c | 23 if (ctx->status == PREFIX##_ERROR) \ 25 else if (ctx->status == PREFIX##_COMPLETE) \ 160 struct hdr_ctx *ctx; local 162 if (parser->ctx == NULL) { 163 ctx = apr_pcalloc(pool, sizeof *ctx); 164 ctx->bb = apr_brigade_create(pool, parser->bucket_alloc); 165 parser->ctx = ctx; 166 ctx [all...] |
H A D | apreq_parser_urlencoded.c | 24 if (ctx->status == PREFIX##_ERROR) \ 26 else if (ctx->status == PREFIX##_COMPLETE) \ 163 struct url_ctx *ctx; local 165 if (parser->ctx == NULL) { 166 ctx = apr_pcalloc(pool, sizeof *ctx); 167 ctx->bb = apr_brigade_create(pool, parser->bucket_alloc); 168 parser->ctx = ctx; 169 ctx [all...] |
H A D | apreq_parser.c | 26 if (ctx->status == PREFIX##_ERROR) \ 28 else if (ctx->status == PREFIX##_COMPLETE) \ 41 void *ctx) 51 p->ctx = ctx; 58 void *ctx) 64 h->ctx = ctx; 219 struct gen_ctx *ctx = parser->ctx; local 34 apreq_parser_make(apr_pool_t *pool, apr_bucket_alloc_t *ba, const char *content_type, apreq_parser_function_t pfn, apr_size_t brigade_limit, const char *temp_dir, apreq_hook_t *hook, void *ctx) argument 55 apreq_hook_make(apr_pool_t *pool, apreq_hook_function_t hook, apreq_hook_t *next, void *ctx) argument 285 struct xml_ctx *ctx = hook->ctx; local 345 apreq_hook_find_param_ctx_t *ctx = hook->ctx; local [all...] |
/httpd/modules/lua/ |
H A D | lua_passwd.c | 85 * indicates success; on failure, ctx->errstr points to the error message. 87 int mk_password_hash(passwd_ctx *ctx) argument 97 pw = ctx->passwd; 98 switch (ctx->alg) { 101 apr_sha1_base64(pw, strlen(pw), ctx->out); 105 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool); 110 rv = apr_md5_encode(pw, salt, ctx->out, ctx->out_len); 112 ctx [all...] |
/httpd/modules/cache/ |
H A D | mod_socache_dc.c | 46 struct ap_socache_instance_t *ctx; local 48 ctx = *context = apr_palloc(p, sizeof *ctx); 50 ctx->target = apr_pstrdup(p, arg); 55 static apr_status_t socache_dc_init(ap_socache_instance_t *ctx, argument 76 ctx->dc = DC_CTX_new(ctx->target, SESSION_CTX_FLAGS); 77 if (!ctx->dc) { 86 static void socache_dc_destroy(ap_socache_instance_t *ctx, server_rec *s) argument 88 if (ctx 94 socache_dc_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *der, unsigned int der_len, apr_pool_t *p) argument 115 socache_dc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument 136 socache_dc_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument 151 socache_dc_status(ap_socache_instance_t *ctx, request_rec *r, int flags) argument [all...] |
H A D | mod_socache_dbm.c | 73 static void socache_dbm_expire(ap_socache_instance_t *ctx, server_rec *s); 75 static apr_status_t socache_dbm_remove(ap_socache_instance_t *ctx, 83 ap_socache_instance_t *ctx; local 85 *context = ctx = apr_pcalloc(p, sizeof *ctx); 88 ctx->data_file = ap_runtime_dir_relative(p, arg); 89 if (!ctx->data_file) { 94 apr_pool_create(&ctx->pool, p); 118 static apr_status_t socache_dbm_init(ap_socache_instance_t *ctx, argument 127 if (ctx 177 socache_dbm_destroy(ap_socache_instance_t *ctx, server_rec *s) argument 191 socache_dbm_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *ucaData, unsigned int nData, apr_pool_t *pool) argument 260 socache_dbm_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument 326 socache_dbm_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument 355 socache_dbm_expire(ap_socache_instance_t *ctx, server_rec *s) argument 462 socache_dbm_status(ap_socache_instance_t *ctx, request_rec *r, int flags) argument 516 socache_dbm_iterate(ap_socache_instance_t *ctx, server_rec *s, void *userctx, ap_socache_iterator_t *iterator, apr_pool_t *pool) argument [all...] |
H A D | mod_socache_memcache.c | 68 ap_socache_instance_t *ctx; local 70 *context = ctx = apr_palloc(p, sizeof *ctx); 76 ctx->servers = apr_pstrdup(p, arg); 81 static apr_status_t socache_mc_init(ap_socache_instance_t *ctx, argument 96 cache_config = apr_pstrdup(p, ctx->servers); 103 rv = apr_memcache_create(p, nservers, 0, &ctx->mc); 112 cache_config = apr_pstrdup(p, ctx->servers); 152 rv = apr_memcache_add_server(ctx->mc, st); 163 ctx 180 socache_mc_id2key(ap_socache_instance_t *ctx, const unsigned char *id, unsigned int idlen, char *key, apr_size_t keylen) argument 195 socache_mc_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *ucaData, unsigned int nData, apr_pool_t *p) argument 227 socache_mc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument 263 socache_mc_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument 285 socache_mc_status(ap_socache_instance_t *ctx, request_rec *r, int flags) argument [all...] |
/httpd/modules/debugging/ |
H A D | mod_firehose.c | 126 firehose_ctx_t *ctx = (firehose_ctx_t *) dummy; local 131 if (!ctx->count) { 136 (apr_uint64_t) 0, (apr_uint64_t) apr_time_now(), ctx->direction, 137 ctx->uuid, ctx->count); 140 rv = apr_file_write_full(ctx->conn->file, header, hdr_len, NULL); 142 if (ctx->conn->suppress) { 145 else if (ctx->r) { 150 ctx->r, 152 (apr_uint64_t)(hdr_len), ctx 188 pumpit(ap_filter_t *f, apr_bucket *b, firehose_ctx_t *ctx) argument 270 firehose_ctx_t *ctx = f->ctx; local 307 firehose_ctx_t *ctx = f->ctx; local 342 firehose_ctx_t *ctx; local 412 firehose_ctx_t *ctx; local [all...] |
/httpd/modules/cluster/ |
H A D | mod_heartmonitor.c | 76 static apr_status_t hm_listen(hm_ctx_t *ctx) argument 80 rv = apr_socket_create(&ctx->sock, ctx->mcast_addr->family, 81 SOCK_DGRAM, APR_PROTO_UDP, ctx->p); 84 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ctx->s, APLOGNO(02068) 89 rv = apr_socket_opt_set(ctx->sock, APR_SO_REUSEADDR, 1); 91 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ctx->s, APLOGNO(02069) 97 rv = apr_socket_opt_set(ctx->sock, APR_SO_NONBLOCK, 1); 99 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ctx->s, APLOGNO(02070) 104 rv = apr_socket_bind(ctx 198 hm_slot_server_ctx_t ctx; local 218 hm_slot_server_ctx_t ctx; local 227 hm_file_update_stat(hm_ctx_t *ctx, hm_server_t *s, apr_pool_t *pool) argument 386 hm_update_stat(hm_ctx_t *ctx, hm_server_t *s, apr_pool_t *pool) argument 395 hm_file_update_stats(hm_ctx_t *ctx, apr_pool_t *p) argument 466 hm_slotmem_update_stats(hm_ctx_t *ctx, apr_pool_t *p) argument 491 hm_update_stats(hm_ctx_t *ctx, apr_pool_t *p) argument 499 hm_get_server(hm_ctx_t *ctx, const char *ip, const int port) argument 519 hm_processmsg(hm_ctx_t *ctx, apr_pool_t *p, apr_sockaddr_t *from, char *buf, int len) argument 561 hm_recv(hm_ctx_t *ctx, apr_pool_t *p) argument 591 hm_ctx_t *ctx = (hm_ctx_t *)data; local 667 hm_ctx_t *ctx = ap_get_module_config(s->module_config, local 739 hm_ctx_t *ctx; local 792 hm_ctx_t *ctx = (hm_ctx_t *) apr_palloc(p, sizeof(hm_ctx_t)); local 810 hm_ctx_t *ctx = local 832 hm_ctx_t *ctx = local [all...] |
/httpd/modules/dav/main/ |
H A D | util_lock.c | 262 dav_walker_ctx *ctx = wres->walk_ctx; local 267 ctx->w.root)) 270 if ((err = (*ctx->w.lockdb->hooks->append_locks)(ctx->w.lockdb, 272 ctx->lock)) != NULL) { 334 dav_walker_ctx ctx = { { 0 } }; local 337 ctx.w.walk_type = DAV_WALKTYPE_NORMAL | DAV_WALKTYPE_AUTH; 338 ctx.w.func = dav_lock_walker; 339 ctx.w.walk_ctx = &ctx; 388 dav_walker_ctx *ctx = wres->walk_ctx; local 505 dav_walker_ctx ctx = { { 0 } }; local 568 dav_walker_ctx *ctx = wres->walk_ctx; local 597 dav_walker_ctx ctx = { { 0 } }; local [all...] |
/httpd/modules/proxy/examples/ |
H A D | mod_lbmethod_rr.c | 50 rr_data *ctx; local 56 /* The index of the candidate last chosen is stored in ctx->index */ 59 ctx = apr_pcalloc(r->server->process->pconf, sizeof(rr_data)); 60 balancer->context = (void *)ctx; 62 "proxy: Creating roundrobin ctx for BALANCER %s (%d)", 65 ctx = (rr_data *)balancer->context; 69 ctx->index, (int)getpid()); 76 if (i < ctx->index) 95 ctx->index += 1; 96 if (ctx [all...] |