Searched refs:handle (Results 1 - 25 of 35) sorted by relevance

12

/httpd/modules/lua/test/htdocs/
H A Dsimple.lua1 function handle(r) function
H A Dheaders.lua1 function handle(r) function
H A Dconfig_tests.lua20 function handle(r) function
21 r:puts("success in handle " .. count)
/httpd/server/
H A Dapreq_module_custom.c26 struct apreq_handle_t handle; member in struct:custom_handle
42 static apr_status_t custom_parse_brigade(apreq_handle_t *handle, apr_uint64_t bytes) argument
44 struct custom_handle *req = (struct custom_handle *)handle;
97 static apr_status_t custom_jar(apreq_handle_t *handle, const apr_table_t **t) argument
99 struct custom_handle *req = (struct custom_handle *)handle;
104 static apr_status_t custom_args(apreq_handle_t *handle, const apr_table_t **t) argument
106 struct custom_handle *req = (struct custom_handle*)handle;
111 static apr_status_t custom_body(apreq_handle_t *handle, const apr_table_t **t) argument
113 struct custom_handle *req = (struct custom_handle*)handle;
115 custom_parse_brigade(handle, READ_BYTE
122 custom_jar_get(apreq_handle_t *handle, const char *name) argument
138 custom_args_get(apreq_handle_t *handle, const char *name) argument
154 custom_body_get(apreq_handle_t *handle, const char *name) argument
178 custom_parser_get(apreq_handle_t *handle, const apreq_parser_t **parser) argument
187 custom_parser_set(apreq_handle_t *handle, apreq_parser_t *parser) argument
195 custom_hook_add(apreq_handle_t *handle, apreq_hook_t *hook) argument
203 custom_brigade_limit_get(apreq_handle_t *handle, apr_size_t *bytes) argument
211 custom_brigade_limit_set(apreq_handle_t *handle, apr_size_t bytes) argument
219 custom_read_limit_get(apreq_handle_t *handle, apr_uint64_t *bytes) argument
227 custom_read_limit_set(apreq_handle_t *handle, apr_uint64_t bytes) argument
235 custom_temp_dir_get(apreq_handle_t *handle, const char **path) argument
244 custom_temp_dir_set(apreq_handle_t *handle, const char *path) argument
[all...]
H A Dapreq_module_cgi.c54 struct apreq_handle_t handle; member in struct:cgi_handle
121 we take the promptstring defined in the handle and interpolate variables as
143 static char *prompt(apreq_handle_t *handle, const char *name, argument
145 struct cgi_handle *req = (struct cgi_handle *)handle;
248 return apr_pstrdup(handle->pool, buf[0]);
253 return apr_pstrdup(handle->pool, defval);
258 static const char *cgi_header_in(apreq_handle_t *handle, argument
261 apr_pool_t *p = handle->pool;
286 apr_status_t status, apreq_handle_t *handle,
289 apr_pool_t *p = handle
285 cgi_log_error(const char *file, int line, int level, apr_status_t status, apreq_handle_t *handle, const char *fmt, ...) argument
337 cgi_query_string(apreq_handle_t *handle) argument
345 init_body(apreq_handle_t *handle) argument
423 cgi_read(apreq_handle_t *handle, apr_off_t bytes) argument
495 cgi_jar(apreq_handle_t *handle, const apr_table_t **t) argument
539 cgi_args(apreq_handle_t *handle, const apr_table_t **t) argument
587 cgi_jar_get(apreq_handle_t *handle, const char *name) argument
619 cgi_args_get(apreq_handle_t *handle, const char *name) argument
653 cgi_body(apreq_handle_t *handle, const apr_table_t **t) argument
701 cgi_body_get(apreq_handle_t *handle, const char *name) argument
793 cgi_parser_get(apreq_handle_t *handle, const apreq_parser_t **parser) argument
802 cgi_parser_set(apreq_handle_t *handle, apreq_parser_t *parser) argument
830 cgi_hook_add(apreq_handle_t *handle, apreq_hook_t *hook) argument
851 cgi_brigade_limit_set(apreq_handle_t *handle, apr_size_t bytes) argument
867 cgi_brigade_limit_get(apreq_handle_t *handle, apr_size_t *bytes) argument
878 cgi_read_limit_set(apreq_handle_t *handle, apr_uint64_t bytes) argument
892 cgi_read_limit_get(apreq_handle_t *handle, apr_uint64_t *bytes) argument
901 cgi_temp_dir_set(apreq_handle_t *handle, const char *path) argument
920 cgi_temp_dir_get(apreq_handle_t *handle, const char **path) argument
[all...]
H A Dutil_filter.c483 const char *handle)
488 if (!handle) {
491 filter = ap_get_input_filter_handle(handle);
511 const char *handle)
516 if (!handle) {
519 filter = ap_get_output_filter_handle(handle);
/httpd/modules/apreq/
H A Dhandle.c33 static ap_filter_t *get_apreq_filter(apreq_handle_t *handle) argument
35 struct apache2_handle *req = (struct apache2_handle *)handle;
51 static apr_status_t apache2_jar(apreq_handle_t *handle, const apr_table_t **t) argument
53 struct apache2_handle *req = (struct apache2_handle*)handle;
59 req->jar = apr_table_make(handle->pool, APREQ_DEFAULT_NELTS);
61 apreq_parse_cookie_header(handle->pool, req->jar, cookies);
71 static apr_status_t apache2_args(apreq_handle_t *handle, const apr_table_t **t) argument
73 struct apache2_handle *req = (struct apache2_handle*)handle;
78 req->args = apr_table_make(handle->pool, APREQ_DEFAULT_NELTS);
80 apreq_parse_query_string(handle
93 apache2_jar_get(apreq_handle_t *handle, const char *name) argument
114 apache2_args_get(apreq_handle_t *handle, const char *name) argument
136 apache2_body(apreq_handle_t *handle, const apr_table_t **t) argument
162 apache2_body_get(apreq_handle_t *handle, const char *name) argument
242 apache2_parser_get(apreq_handle_t *handle, const apreq_parser_t **parser) argument
257 apache2_parser_set(apreq_handle_t *handle, apreq_parser_t *parser) argument
279 apache2_hook_add(apreq_handle_t *handle, apreq_hook_t *hook) argument
307 apache2_brigade_limit_set(apreq_handle_t *handle, apr_size_t bytes) argument
327 apache2_brigade_limit_get(apreq_handle_t *handle, apr_size_t *bytes) argument
342 apache2_read_limit_set(apreq_handle_t *handle, apr_uint64_t bytes) argument
362 apache2_read_limit_get(apreq_handle_t *handle, apr_uint64_t *bytes) argument
377 apache2_temp_dir_set(apreq_handle_t *handle, const char *path) argument
398 apache2_temp_dir_get(apreq_handle_t *handle, const char **path) argument
[all...]
H A Dapreq_private_apache2.h11 apreq_handle_t handle; member in struct:apache2_handle
H A Dfilter.c212 struct apache2_handle *handle = local
221 handle->f = f;
226 if (handle->f == f)
227 handle->f = r->input_filters;
234 handle->f = f;
242 if (handle->f == f) {
247 handle->f = NULL;
/httpd/modules/ssl/
H A Dssl_ct_log_config.c35 apr_dbd_t *handle; local
48 rv = apr_dbd_open(driver, p, logconfig, &handle);
55 rc = apr_dbd_select(driver, p, handle, &res,
58 apr_dbd_close(driver, handle);
311 apr_dbd_t *handle; local
325 rv = apr_dbd_open(driver, p, log_config_fname, &handle);
334 rc = apr_dbd_select(driver, p, handle, &res,
340 apr_dbd_close(driver, handle);
350 apr_dbd_close(driver, handle);
356 apr_dbd_close(driver, handle);
[all...]
/httpd/modules/loggers/
H A Dmod_log_config.h48 void *handle,
H A Dmod_syslog.c131 void *handle, const char *errstr,
130 syslog_error_log(const ap_errorlog_info *info, void *handle, const char *errstr, apr_size_t len) argument
H A Dmod_journald.c149 void *handle, const char *errstr,
180 void *handle,
200 journald_log(r->pool, (char *) handle, str, len,
148 journald_error_log(const ap_errorlog_info *info, void *handle, const char *errstr, apr_size_t len) argument
179 journald_log_writer(request_rec *r, void *handle, const char **strs, int *strl, int nelts, apr_size_t len) argument
H A Dmod_log_config.c182 void *handle,
188 void *handle,
198 static ap_log_writer_init *ap_log_set_writer_init(ap_log_writer_init *handle);
199 static ap_log_writer *ap_log_set_writer(ap_log_writer *handle);
254 apr_file_t *handle; member in struct:__anon197
294 * errorlog_provider_data holds pointer to provider and its handle
300 void *handle; member in struct:__anon201
1116 if (buf->outcnt && buf->handle != NULL) {
1118 apr_file_write_full(buf->handle, buf->outbuf, buf->outcnt, NULL);
1605 static ap_log_writer_init *ap_log_set_writer_init(ap_log_writer_init *handle) argument
1613 ap_log_set_writer(ap_log_writer *handle) argument
1621 ap_default_log_writer( request_rec *r, void *handle, const char **strs, int *strl, int nelts, apr_size_t len) argument
1757 ap_buffered_log_writer(request_rec *r, void *handle, const char **strs, int *strl, int nelts, apr_size_t len) argument
[all...]
/httpd/modules/lua/
H A Dlua_dbd.c69 rc = apr_dbd_close(db->driver, db->handle);
79 db->handle = NULL;
103 apr_dbd_close(db->driver, db->handle);
112 db->handle = NULL;
134 rc = apr_dbd_check_conn(db->driver, db->pool, db->handle);
164 rc = apr_dbd_query(db->driver, db->handle, &x, statement);
175 const char *err = apr_dbd_error(db->driver, db->handle, rc);
210 db->handle);
329 rc = apr_dbd_select(db->driver, db->pool, db->handle,
356 const char *err = apr_dbd_error(db->driver, db->handle, r
[all...]
H A Dlua_dbd.h30 apr_dbd_t *handle; member in struct:__anon207
/httpd/modules/aaa/
H A Dmod_authz_dbd.c136 rv = apr_dbd_pvquery(dbd->driver, r->pool, dbd->handle, &nrows,
146 message = apr_dbd_error(dbd->driver, dbd->handle, rv);
165 else if ((rv = apr_dbd_pvselect(dbd->driver, r->pool, dbd->handle,
171 message = apr_dbd_error(dbd->driver, dbd->handle, rv);
183 message = apr_dbd_error(dbd->driver, dbd->handle, rv);
220 rv = apr_dbd_pvselect(dbd->driver, r->pool, dbd->handle, &res,
231 message = apr_dbd_error(dbd->driver, dbd->handle, rv);
240 message = apr_dbd_error(dbd->driver, dbd->handle, rv);
H A Dmod_authn_dbd.c133 if ((ret = apr_dbd_pvselect(dbd->driver, r->pool, dbd->handle, &res,
138 user, apr_dbd_error(dbd->driver, dbd->handle, ret));
228 if ((ret = apr_dbd_pvselect(dbd->driver, r->pool, dbd->handle, &res,
234 apr_dbd_error(dbd->driver, dbd->handle, ret));
/httpd/modules/cache/
H A Dmod_cache.c104 * Which cache module (if any) should handle this request?
262 cache_run_cache_status(cache->handle, r, r->headers_out, AP_CACHE_HIT,
414 * Which cache module (if any) should handle this request?
569 cache_run_cache_status(cache->handle, r, r->headers_out, AP_CACHE_HIT,
667 const char *ct = apr_table_get(cache->handle->resp_hdrs, "Content-Type");
673 r->status = cache->handle->cache_obj->info.status;
676 cache->provider->recall_body(cache->handle, r->pool, bb);
715 rv = cache->provider->store_body(cache->handle, f->r, in, cache->out);
736 rv = cache->provider->commit_entity(cache->handle, f->r);
857 * cached file handle
[all...]
/httpd/include/
H A Dutil_filter.h166 /** These filters are used to handle the protocol between server and
413 * Variant of ap_add_input_filter() that accepts a registered filter handle
416 * @param f The filter handle to add
427 * Returns the filter handle for use with ap_add_input_filter_handle.
449 * Variant of ap_add_output_filter() that accepts a registered filter handle
452 * @param f The filter handle to add
467 * Returns the filter handle for use with ap_add_output_filter_handle.
493 * @param handle The filter handle (name) to remove
497 const char *handle);
[all...]
/httpd/modules/session/
H A Dmod_session_dbd.c121 rv = apr_dbd_pvbselect(dbd->driver, r->pool, dbd->handle, &res, statement,
127 apr_dbd_error(dbd->driver, dbd->handle, rv));
137 apr_dbd_error(dbd->driver, dbd->handle, rv));
276 rv = apr_dbd_pvbquery(dbd->driver, r->pool, dbd->handle, &rows,
281 "using database query '%s': %s/%s", oldkey, newkey, conf->updatelabel, apr_dbd_error(dbd->driver, dbd->handle, rv));
304 rv = apr_dbd_pvbquery(dbd->driver, r->pool, dbd->handle, &rows, statement,
310 apr_dbd_error(dbd->driver, dbd->handle, rv));
357 rv = apr_dbd_pvbquery(dbd->driver, r->pool, dbd->handle, &rows, statement,
374 * The monitor hook doesn't help us that much, as we have no handle into the
484 /* TODO handle housekeepin
[all...]
/httpd/modules/database/
H A Dmod_dbd.h77 apr_dbd_t *handle; member in struct:__anon102
H A Dmod_dbd.c453 if (apr_dbd_prepare(rec->driver, pool, rec->handle, query,
477 if (apr_dbd_query(rec->driver, rec->handle, &nrows, *query_p)) {
490 return apr_dbd_close(rec->driver, rec->handle);
561 rv = apr_dbd_open_ex(rec->driver, rec->pool, cfg->params, &rec->handle, &err);
595 const char *errmsg = apr_dbd_error(rec->driver, rec->handle, rv);
769 apr_status_t rv = apr_dbd_check_conn(rec->driver, pool, rec->handle);
779 errmsg = apr_dbd_error(rec->driver, rec->handle, 0);
/httpd/modules/arch/win32/
H A Dmod_isapi.c211 apr_dso_handle_t *handle; member in struct:isapi_loaded
228 if (!isa->handle) {
239 apr_dso_unload(isa->handle);
240 isa->handle = NULL;
271 rv = apr_dso_load(&isa->handle, isa->filename, p);
276 isa->handle = NULL;
280 rv = apr_dso_sym((void**)&isa->GetExtensionVersion, isa->handle,
287 apr_dso_unload(isa->handle);
288 isa->handle = NULL;
292 rv = apr_dso_sym((void**)&isa->HttpExtensionProc, isa->handle,
[all...]
/httpd/modules/core/
H A Dmod_so.c329 apr_dso_handle_t *handle; local
332 error = dso_load(cmd, &handle, filename, &used_file);

Completed in 99 milliseconds

12