Searched refs:hook (Results 1 - 11 of 11) sorted by relevance

/httpd/include/
H A Dapreq_parser.h35 * A hook is called by the parser whenever data arrives in a file
52 #define APREQ_HOOK_ARGS apreq_hook_t *hook, \
62 * The callback function of a hook. See apreq_hook_t.
73 * Declares an API hook.
79 * A hook is called by the parser whenever data arrives in a file
84 apreq_hook_function_t hook; /**< the hook function */ member in struct:apreq_hook_t
86 apr_pool_t *pool; /**< pool which allocated this hook */
87 void *ctx; /**< a user defined pointer passed to the hook function */
107 apreq_hook_t *hook; member in struct:apreq_parser_t
[all...]
H A Dapreq_module.h80 /** add a hook function */
246 * Add a parser hook for this request.
249 * @param hook Hook to add.
254 apr_status_t apreq_hook_add(apreq_handle_t *req, apreq_hook_t *hook) argument
256 return req->module->hook_add(req, hook);
/httpd/server/
H A Dapreq_parser.c40 apreq_hook_t *hook,
46 p->hook = hook;
56 apreq_hook_function_t hook,
61 h->hook = hook;
69 /*XXX this may need to check the parser's state before modifying the hook list */
78 last->next = p->hook;
79 p->hook = h;
198 if (hook
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
[all...]
H A Dapreq_parser_urlencoded.c195 if (parser->hook != NULL && s == APR_SUCCESS)
196 s = apreq_hook_run(parser->hook, param, NULL);
247 if (parser->hook != NULL && s == APR_SUCCESS)
248 s = apreq_hook_run(parser->hook, param, NULL);
H A Dapreq_parser_multipart.c436 parser->hook,
559 if (parser->hook != NULL) {
560 s = apreq_hook_run(parser->hook, param, NULL);
592 if (parser->hook != NULL) {
593 s = apreq_hook_run(parser->hook, param, ctx->bb);
607 if (parser->hook != NULL) {
609 s = apreq_hook_run(parser->hook, param, ctx->bb);
H A Dapreq_module_cgi.c761 h->next = req->parser->hook;
762 req->parser->hook = h;
766 hook_ctx->prev = req->parser->hook;
774 req->parser->hook = h->next;
831 apreq_hook_t *hook)
836 return apreq_parser_add_hook(req->parser, hook);
842 h->next = hook;
845 req->hook_queue = hook;
830 cgi_hook_add(apreq_handle_t *handle, apreq_hook_t *hook) argument
H A Dapreq_module_custom.c196 apreq_hook_t *hook)
199 apreq_parser_add_hook(req->parser, hook);
195 custom_hook_add(apreq_handle_t *handle, apreq_hook_t *hook) argument
H A Dapreq_parser_header.c315 if (parser->hook != NULL && s == APR_SUCCESS)
316 s = apreq_hook_run(parser->hook, param, NULL);
/httpd/modules/loggers/
H A Dmod_log_debug.c31 const char *hook; member in struct:__anon204
65 if (entry->hook != allhooks && entry->hook != hookname)
82 ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, "%s (%s hook, %s:%d)",
207 if (strncasecmp(args[i], "hook=", 5) == 0) {
212 entry->hook = hooks[j];
217 if (entry->hook == NULL) {
219 entry->hook = allhooks;
221 return apr_psprintf(cmd->pool, "Invalid hook name: %s", name);
238 if (entry->hook
[all...]
/httpd/support/
H A Dlist_hooks.pl26 foreach my $hook (sort keys %::Hooks) {
27 my $h=$::Hooks{$hook};
29 print "$hook datum '$x' missing\n" if !exists $h->{$x};
31 print "$hook\n";
35 print " $h->{ret} $hook($h->{args})\n" if defined $h->{args};
/httpd/modules/apreq/
H A Dhandle.c208 h->next = ctx->parser->hook;
210 ctx->parser->hook = h;
213 hook_ctx->prev = ctx->parser->hook;
221 ctx->parser->hook = h->next;
280 apreq_hook_t *hook)
291 return apreq_parser_add_hook(ctx->parser, hook);
297 h->next = hook;
300 ctx->hook_queue = hook;
279 apache2_hook_add(apreq_handle_t *handle, apreq_hook_t *hook) argument

Completed in 3406 milliseconds