/httpd/include/ |
H A D | util_cfgtree.h | 64 const char *filename; member in struct:ap_directive_t
|
H A D | ap_expr.h | 44 /** The filename where the expression has been defined (for logging). 47 const char *filename; member in struct:__anon1
|
H A D | httpd.h | 961 /** The filename on disk corresponding to this response */ 962 char *filename; member in struct:request_rec 963 /** The true filename stored in the filesystem, as in the true alpha case 965 * The core map_to_storage canonicalizes r->filename when they mismatch */ 1833 * Given a directory and filename, create a single path from them. This 1838 * @param f The filename 1843 * path and returned filename. Otherwise, the result is not canonical.
|
/httpd/modules/cache/ |
H A D | mod_file_cache.c | 102 const char *filename; member in struct:__anon90 125 static void cache_the_file(cmd_parms *cmd, const char *filename, int mmap) argument 134 fspec = ap_server_root_relative(cmd->pool, filename); 138 "%s, skipping", filename); 182 "unable to mmap %s, skipping", filename); 197 new_file->filename = fspec; 202 apr_hash_set(sconf->fileht, new_file->filename, strlen(new_file->filename), new_file); 206 static const char *cachefilehandle(cmd_parms *cmd, void *dummy, const char *filename) argument 209 cache_the_file(cmd, filename, 217 cachefilemmap(cmd_parms *cmd, void *dummy, const char *filename) argument [all...] |
/httpd/modules/core/ |
H A D | mod_so.c | 147 const char *filename, const char **used_filename) 150 const char *fullname = ap_server_root_relative(cmd->temp_pool, filename); 152 if (filename != NULL && ap_strchr_c(filename, '/') == NULL) { 159 cmd->cmd->name, filename); 166 *used_filename = filename; 167 if (apr_dso_load(modhandlep, filename, cmd->pool) == APR_SUCCESS) 171 return apr_pstrcat(cmd->temp_pool, "Cannot load ", filename, 183 const char *modname, const char *filename) 263 error = dso_load(cmd, &modhandle, filename, 146 dso_load(cmd_parms *cmd, apr_dso_handle_t **modhandlep, const char *filename, const char **used_filename) argument 182 load_module(cmd_parms *cmd, void *dummy, const char *modname, const char *filename) argument 327 load_file(cmd_parms *cmd, void *dummy, const char *filename) argument 401 load_file(cmd_parms *cmd, void *dummy, const char *filename) argument 408 load_module(cmd_parms *cmd, void *dummy, const char *modname, const char *filename) argument [all...] |
/httpd/modules/mappers/ |
H A D | mod_userdir.c | 228 * for which we don't want to tack on a '/' onto the filename). 264 char *filename = NULL, *prefix = NULL; local 292 filename = apr_pstrcat(r->pool, prefix, user, userdir, 296 filename = apr_pstrcat(r->pool, userdir, "/", user, NULL); 308 filename = apr_pstrcat(r->pool, homedir, "/", userdir, NULL); 317 * last entry, then use the filename generated (if there is one) 321 if (filename && (!*userdirs 322 || ((rv = apr_stat(&statbuf, filename, APR_FINFO_MIN, 325 r->filename = apr_pstrcat(r->pool, filename, dnam [all...] |
H A D | mod_negotiation.c | 578 new->dir_name = ap_make_dirstr_parent(r->pool, r->filename); 921 r->filename, header); 932 r->filename, header); 956 if ((status = apr_file_open(map, rr->filename, APR_READ | APR_BUFFERED, 959 "cannot access type map file: %s", rr->filename); 1005 body1, r->filename); 1040 tag, r->filename); 1044 mime_info.file_name = apr_filepath_name_get(rr->filename); 1108 if (r->proxyreq || !r->filename 1109 || !ap_os_is_path_absolute(neg->pool, r->filename)) { 2647 const char *filename = variant->file_name ? variant->file_name : ""; local [all...] |
/httpd/modules/metadata/ |
H A D | mod_remoteip.c | 182 const char *filename) 191 filename = ap_server_root_relative(cmd->temp_pool, filename); 192 rv = ap_pcfg_openfile(&cfp, cmd->temp_pool, filename); 195 cmd->cmd->name, filename, &rv); 208 errmsg, cfp->line_number, filename); 444 "The filename to read the list of trusted proxies, " 448 "The filename to read the list of internal proxies, " 181 proxylist_read(cmd_parms *cmd, void *cfg, const char *filename) argument
|
/httpd/server/ |
H A D | apreq_parser_multipart.c | 371 const char *cd, *ct, *name, *filename; local 452 s = apreq_header_attribute(cd, "filename", 453 8, &filename, &flen); 458 filename, flen); 478 s = apreq_header_attribute(cd, "filename", 479 8, &filename, &flen); 487 filename, flen); 511 filename = ""; 514 filename, flen);
|
H A D | log.c | 185 char *filename = ap_server_root_relative(p, fname); local 186 if (!filename) { 192 if ((rc = apr_file_open(&stderr_file, filename, 1519 AP_DECLARE(void) ap_log_pid(apr_pool_t *p, const char *filename) argument 1528 if (!filename) { 1532 fname = ap_runtime_dir_relative(p, filename); 1535 NULL, APLOGNO(00097) "Invalid PID file path %s, ignoring.", filename); 1571 AP_DECLARE(apr_status_t) ap_read_pid(apr_pool_t *p, const char *filename, 1581 if (!filename) { 1585 fname = ap_runtime_dir_relative(p, filename); [all...] |
H A D | config.c | 437 if (result == DECLINED && r->handler && r->filename) { 439 "handler \"%s\" not found for: %s", r->handler, r->filename); 611 * only the filename (e.g. mod_includes.c). So check for path 1138 newdir->filename = parms->config_file->name; 1424 curr_parent->filename, 1819 parms.err_directive->filename, error); 1917 /* find the first part of the filename */ 1924 /* optimisation - if the filename isn't a wildcard, process it directly */ 2074 parms.err_directive->filename); 2098 const char *filename; local 2391 ap_read_config(process_rec *process, apr_pool_t *ptemp, const char *filename, ap_directive_t **conftree) argument [all...] |
/httpd/support/ |
H A D | htdbm.c | 66 char *filename; member in struct:htdbm_t 147 return apr_dbm_open_ex(&htdbm->dbm, htdbm->type, htdbm->filename, APR_DBM_RWCREATE, 150 return apr_dbm_open_ex(&htdbm->dbm, htdbm->type, htdbm->filename, 220 fprintf(stderr, "Empty database -- %s\n", htdbm->filename); 223 fprintf(stderr, "Dumping records from database -- %s\n", htdbm->filename); 228 fprintf(stderr, "Failed getting data from %s\n", htdbm->filename); 386 * (the filename, the username, and possibly the password if -b was 394 h->filename = apr_pstrdup(h->ctx.pool, argv[i++]); 396 fprintf(stderr, "Error opening database %s\n", h->filename); 457 fprintf(stdout, "Database %s %s.\n", h->filename, [all...] |
/httpd/modules/filters/ |
H A D | sed1.c | 301 const char* filename = commands->fname[i]; local 302 if (apr_file_open(&eval->fcode[i], filename, 305 eval_errf(eval, SEDERR_COMES, filename);
|
/httpd/modules/ssl/ |
H A D | ssl_util_ssl.c | 77 EVP_PKEY *SSL_read_PrivateKey(const char* filename, EVP_PKEY **key, pem_password_cb *cb, void *s) argument 84 if ((bioS=BIO_new_file(filename, "r")) == NULL) 91 if ((bioS = BIO_new_file(filename, "r")) == NULL) 104 if ((bioS = BIO_new_file(filename, "r")) == NULL) 422 const char *filename) 430 if (BIO_read_filename(in, filename) <= 0) { 420 SSL_X509_INFO_load_file(apr_pool_t *ptemp, STACK_OF(X509_INFO) *sk, const char *filename) argument
|
H A D | ssl_ct_util.c | 36 APLOGNO(02776) "can't build filename from %s and %s", 51 int ctutil_file_exists(apr_pool_t *p, const char *filename) argument 54 apr_status_t rv = apr_stat(&finfo, filename, APR_FINFO_TYPE, p);
|
/httpd/modules/debugging/ |
H A D | mod_firehose.c | 75 const char *filename; member in struct:firehose_conn_t 152 (apr_uint64_t)(hdr_len), ctx->conn->filename, ctx->conn->direction, ctx->uuid, ctx->count); 161 (apr_uint64_t)(hdr_len), ctx->conn->filename, ctx->conn->direction, ctx->uuid, ctx->count); 234 (apr_uint64_t)(vec[0].iov_len + vec[1].iov_len + vec[2].iov_len), ctx->conn->filename, ctx->conn->direction, ctx->uuid, ctx->count); 243 (apr_uint64_t)(vec[0].iov_len + vec[1].iov_len + vec[2].iov_len), ctx->conn->filename, ctx->conn->direction, ctx->uuid, ctx->count); 388 * TODO: An idea for configuration. Let the filename directives be per-directory, 389 * with a global hashtable of filename to filehandle mappings. As each directive 483 if (APR_SUCCESS != (rv = apr_file_open(&conn->file, conn->filename, 489 conn->filename, conn->proxy == FIREHOSE_PROXY ? "proxy " : "", 555 firehose->filename [all...] |
/httpd/modules/session/ |
H A D | mod_session_crypto.c | 571 const char *filename) 579 filename = ap_server_root_relative(cmd->temp_pool, filename); 580 rv = ap_pcfg_openfile(&file, cmd->temp_pool, filename); 583 cmd->cmd->name, filename, &rv); 570 set_crypto_passphrase_file(cmd_parms *cmd, void *config, const char *filename) argument
|
/httpd/modules/arch/win32/ |
H A D | mod_isapi.c | 122 const char *filename) 137 fspec = ap_server_root_relative(cmd->pool, filename); 140 "invalid module path, skipping %s", filename); 207 const char *filename; member in struct:isapi_loaded 271 rv = apr_dso_load(&isa->handle, isa->filename, p); 275 "failed to load %s", isa->filename); 286 isa->filename); 298 isa->filename); 314 isa->filename); 424 (*isa)->filename 121 isapi_cmd_cachefile(cmd_parms *cmd, void *dummy, const char *filename) argument [all...] |
/httpd/modules/dav/fs/ |
H A D | lock.c | 93 const char *filename, 860 ** dav_fs_remove_locknull_member: Removes filename from the locknull list 864 const char *filename, 872 char *dirpath = apr_pstrdup(p, filename); 953 ** dav_fs_remove_locknull_state: Given a request, check to see if r->filename 863 dav_fs_remove_locknull_member(apr_pool_t *p, const char *filename, dav_buffer *pbuf) argument
|
H A D | repos.c | 568 /* Get directory and filename for resources */ 621 /* Get directory, filename, and state-file names for the resource */ 676 char *filename; local 692 filename = r->case_preserved_filename; 694 filename = r->filename; 700 ** it onto the filename so that we get a "valid" pathname for null 703 s = apr_pstrcat(r->pool, filename, r->path_info, NULL); 741 ** This URL/filename represents a locknull resource or 1055 /* ### note that these use r->filename rathe [all...] |
/httpd/modules/generators/ |
H A D | mod_autoindex.c | 276 * Add description text for a filename pattern. If the pattern has 282 * the matching routine simplifies to just the actual filename 594 DIR_CMD_PERMS, "a filename"), 597 DIR_CMD_PERMS, "a filename"), 805 r->content_encoding, r->filename, list, path_only); 815 * if any) that matches the filename in the request. If multiple patterns 832 const char *filename; local 835 * If the filename includes a path, extract just the name itself 849 * Only use the full-path filename if the pattern contains '/'s. 851 filename [all...] |
/httpd/modules/lua/ |
H A D | mod_lua.c | 175 const char *filename, 196 if (filename) { 199 filename, APR_FILEPATH_NOTRELATIVE, r->pool); 203 spec->file = r->filename; 290 "handling [%s] in mod_lua", r->filename); 775 const char *filename, *function_name; local 798 filename = ap_lua_interpolate_string(r->pool, hook_spec->file_name, values); 801 filename, 811 function_name, filename); 822 filename); 171 create_vm_spec(apr_pool_t **lifecycle_pool, request_rec *r, const ap_lua_dir_cfg *cfg, const ap_lua_server_cfg *server_cfg, const char *filename, const char *bytecode, apr_size_t bytecode_len, const char *function, const char *what) argument [all...] |
H A D | lua_request.c | 353 char *buffer, *key, *filename; local 377 filename = (char *) apr_pcalloc(r->pool, 256); 382 "Content-Disposition: form-data; name=\"%255[^\"]\"; filename=\"%255[^\"]\"", 383 key, filename); 409 * lua_ap_requestbody; r:requestbody([filename]) - Reads or stores the request 414 const char *filename; local 419 filename = luaL_optstring(L, 2, 0); 431 if (!filename) { 444 rc = apr_file_open(&file, filename, APR_CREATE | APR_FOPEN_WRITE, 595 return r->filename; 782 const char *filename; local 1478 const char *filename; local [all...] |
/httpd/modules/proxy/ |
H A D | mod_proxy_ftp.c | 365 r->filename = apr_pstrcat(p, "proxy:ftp://", (user != NULL) ? user : "", 600 char *filename; local 659 if (ctx->buffer[0] == 'l' && (filename = strstr(ctx->buffer, " -> ")) != NULL) { 660 char *link_ptr = filename; 663 filename--; 664 } while (filename[0] != ' ' && filename > ctx->buffer); 665 if (filename > ctx->buffer) 666 *(filename++) = '\0'; 670 ap_escape_uri(p, filename), [all...] |