/httpd/test/ |
H A D | test_find.c | 19 * The defines in this sample compile line are specific to Roy's system. 52 AP_DECLARE(void) ap_log_error(const char *file, int line, int level, argument 61 char line[512]; local 67 if (!gets(line)) 72 printf(" [%s] == %s\n", tok, ap_find_list_item(p, line, tok)
|
H A D | test_parser.c | 19 * The defines in this sample compile line are specific to Roy's system. 52 AP_DECLARE(void) ap_log_error(const char *file, int line, int level, argument
|
H A D | cls.c | 98 char line[1035]; local 129 if (fgets(line, 1034, fp) == NULL) { 134 if (!checkmask(line, "&&&&&&&& &&&&&&&& &&&&&&&& &&&&&&&& &&&&&&&&\n")) { 139 date = hex2sec(line); 140 lmod = hex2sec(line + 9); 141 expire = hex2sec(line + 18); 142 ver = hex2sec(line + 27); 143 len = hex2sec(line + 35); 144 if (fgets(line, 1034, fp) == NULL) { 150 i = strlen(line); [all...] |
/httpd/modules/ssl/ |
H A D | ssl_engine_log.c | 49 { "*no start line*", "Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?" }, 84 void ssl_log_ssl_error(const char *file, int line, int level, server_rec *s) argument 101 ap_log_error(file, line, APLOG_MODULE_INDEX, level, 0, s, 116 static void ssl_log_cert_error(const char *file, int line, int level, argument 138 * at the beginning of the line and the trailing information about 189 ap_log_rerror(file, line, APLOG_MODULE_INDEX, level, rv, r, "%s", buf); 192 ap_log_cerror(file, line, APLOG_MODULE_INDEX, level, rv, c, "%s", buf); 195 ap_log_error(file, line, APLOG_MODULE_INDEX, level, rv, s, "%s", buf); 206 void ssl_log_xerror(const char *file, int line, int level, apr_status_t rv, argument 213 ssl_log_cert_error(file, line, leve 219 ssl_log_cxerror(const char *file, int line, int level, apr_status_t rv, conn_rec *c, X509 *cert, const char *fmt, ...) argument 231 ssl_log_rxerror(const char *file, int line, int level, apr_status_t rv, request_rec *r, X509 *cert, const char *fmt, ...) argument [all...] |
H A D | ssl_util_ocsp.c | 130 /* Return a pool-allocated NUL-terminated line, with CRLF stripped, 137 char *line; local 144 "failed reading line from OCSP server"); 148 rv = apr_brigade_pflatten(bbout, &line, &len, p); 151 "failed reading line from OCSP server"); 161 if (line[len-1] != APR_ASCII_LF) { 163 "response header line too long from OCSP server"); 167 line[len-1] = '\0'; 168 if (len > 1 && line[len-2] == APR_ASCII_CR) { 169 line[le 187 char *line; local [all...] |
H A D | ssl_util.c | 92 * Run a filter program and read the first line of its stdout output 212 const char *file, int line) 228 int line; member in struct:CRYPTO_dynlock_value 239 int line) 251 ap_log_perror(file, line, APLOG_MODULE_INDEX, APLOG_TRACE1, 0, p, 259 value->line = line; 263 ap_log_perror(file, line, APLOG_MODULE_INDEX, APLOG_ERR, rv, p, APLOGNO(02186) 276 const char *file, int line) 281 ap_log_perror(file, line, APLOG_MODULE_INDE 211 ssl_util_thr_lock(int mode, int type, const char *file, int line) argument 238 ssl_dyn_create_function(const char *file, int line) argument 275 ssl_dyn_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) argument 299 ssl_dyn_destroy_function(struct CRYPTO_dynlock_value *l, const char *file, int line) argument [all...] |
H A D | ssl_ct_util.c | 69 const char *line; local 85 line = apr_pstrndup(p, ch, 1 + tmpend - ch); 86 *(const char **)apr_array_push(arr) = line; 463 void ctutil_log_array(const char *file, int line, int module_index, argument 470 ap_log_error(file, line, module_index, level, 473 ap_log_error(file, line, module_index, level,
|
/httpd/support/ |
H A D | httxt2dbm.c | 112 char line[REWRITE_MAX_TXT_MAP_LINE + 1]; /* +1 for \0 */ local 119 while (apr_file_gets(line, sizeof(line), fp) == APR_SUCCESS) { 122 if (*line == '#' || apr_isspace(*line)) { 126 c = line; 133 /* no value. solid line of data. */ 137 dbmkey.dptr = apr_pstrmemdup(p, line, c - line); 138 dbmkey.dsize = (c - line); [all...] |
H A D | logresolve.c | 143 char * line; local 194 || (line = apr_palloc(pool, LINE_BUF_SIZE)) == NULL) { 207 while (apr_file_gets(line, LINE_BUF_SIZE, infile) == APR_SUCCESS) { 214 if (line[0] == '\0') { 222 if (!apr_isxdigit(line[0]) && line[0] != ':') { 224 apr_file_puts(line, outfile); 228 /* Terminate the line at the next space */ 229 if ((space = strchr(line, ' ')) != NULL) { 237 hostname = (char *) apr_hash_get(cache, line, APR_HASH_KEY_STRIN [all...] |
H A D | htdigest.c | 78 static void getword(char *word, char *line, char stop) argument 82 for (x = 0; ((line[x]) && (line[x] != stop)); x++) 83 word[x] = line[x]; 86 if (line[x]) 90 while ((line[y++] = line[x++])); 194 char line[3 * MAX_STRING_LEN]; local 258 while (!(get_line(line, sizeof(line), [all...] |
H A D | htpasswd.c | 32 * 2: Failure; command line syntax problem (usage message issued) 103 " -b Use the password from the command line rather than prompting " 277 char line[MAX_STRING_LEN]; local 407 while (apr_file_gets(line, sizeof(line), fpw) == APR_SUCCESS) { 410 strcpy(cp, line); 417 putline(ftemp, line); 429 * If we've not got a colon on the line, this could well 440 putline(ftemp, line);
|
/httpd/modules/session/ |
H A D | mod_session_cookie.c | 217 char *line = apr_pstrdup(cmd->pool, args); local 219 char *cookie = apr_strtok(line, " \t", &last); 233 char *line = apr_pstrdup(cmd->pool, args); local 235 char *cookie = apr_strtok(line, " \t", &last);
|
H A D | mod_session_dbd.c | 568 char *line = apr_pstrdup(cmd->pool, args); local 570 char *cookie = apr_strtok(line, " \t", &last); 583 char *line = apr_pstrdup(cmd->pool, args); local 585 char *cookie = apr_strtok(line, " \t", &last);
|
/httpd/server/ |
H A D | apreq_parser_multipart.c | 316 char *line; local 318 apr_brigade_pflatten(ctx->bb, &line, &len, pool); 320 if (len >= 2 && strncmp(line, "--", 2) == 0) {
|
H A D | apreq_module_cgi.c | 285 static void cgi_log_error(const char *file, int line, int level, argument 320 date, priorities[level].t_name, remote_addr, file, line, 326 date, priorities[level].t_name, remote_addr, file, line,
|
H A D | log.c | 596 * c: log conn log id if available and not a once-per-request log line 664 return apr_snprintf(buf, buflen, "%s(%d)", file, info->line); 1000 /* required item is empty. skip whole line */ 1028 static void log_error_core(const char *file, int line, int module_index, argument 1135 info.line = 0; 1158 /* this is the last line of once-per-connection info */ 1176 /* this is the last line of once-per-request info */ 1188 info.line = line; 1195 * prepare and log one line 1249 log_error_va_glue(const char *file, int line, int module_index, int level, apr_status_t status, const server_rec *s, const conn_rec *c, const request_rec *r, apr_pool_t *pool, const char *fmt, ...) argument 1263 ap_log_error_(const char *file, int line, int module_index, int level, apr_status_t status, const server_rec *s, const char *fmt, ...) argument 1275 ap_log_perror_(const char *file, int line, int module_index, int level, apr_status_t status, apr_pool_t *p, const char *fmt, ...) argument 1287 ap_log_rerror_(const char *file, int line, int module_index, int level, apr_status_t status, const request_rec *r, const char *fmt, ...) argument 1316 ap_log_cserror_(const char *file, int line, int module_index, int level, apr_status_t status, const conn_rec *c, const server_rec *s, const char *fmt, ...) argument 1329 ap_log_cerror_(const char *file, int line, int module_index, int level, apr_status_t status, const conn_rec *c, const char *fmt, ...) argument 1390 log_data_core(const char *file, int line, int module_index, int level, const server_rec *s, const conn_rec *c, const request_rec *r, const char *label, const void *data, apr_size_t len, unsigned int flags) argument 1425 ap_log_data_(const char *file, int line, int module_index, int level, const server_rec *s, const char *label, const void *data, apr_size_t len, unsigned int flags) argument 1435 ap_log_rdata_(const char *file, int line, int module_index, int level, const request_rec *r, const char *label, const void *data, apr_size_t len, unsigned int flags) argument 1445 ap_log_cdata_(const char *file, int line, int module_index, int level, const conn_rec *c, const char *label, const void *data, apr_size_t len, unsigned int flags) argument 1455 ap_log_csdata_(const char *file, int line, int module_index, int level, const conn_rec *c, const server_rec *s, const char *label, const void *data, apr_size_t len, unsigned int flags) argument [all...] |
H A D | util.c | 27 * #define DEBUG_CFG_LINES to trace every line read from the config files 666 AP_DECLARE(char *) ap_getword_nc(apr_pool_t *atrans, char **line, char stop) argument 668 return ap_getword(atrans, (const char **) line, stop); 671 AP_DECLARE(char *) ap_getword(apr_pool_t *atrans, const char **line, char stop) argument 673 const char *pos = *line; 681 len = pos - *line; 682 res = apr_pstrmemdup(atrans, *line, len); 689 *line = pos; 694 AP_DECLARE(char *) ap_getword_white_nc(apr_pool_t *atrans, char **line) argument 696 return ap_getword_white(atrans, (const char **) line); 699 ap_getword_white(apr_pool_t *atrans, const char **line) argument 721 ap_getword_nulls_nc(apr_pool_t *atrans, char **line, char stop) argument 727 ap_getword_nulls(apr_pool_t *atrans, const char **line, char stop) argument 776 ap_getword_conf_nc(apr_pool_t *p, char **line) argument 781 ap_getword_conf(apr_pool_t *p, const char **line) argument 1303 find_list_item(apr_pool_t *p, const char *line, const char *tok, ap_etag_e type) argument 1431 ap_find_list_item(apr_pool_t *p, const char *line, const char *tok) argument 1440 ap_find_etag_strong(apr_pool_t *p, const char *line, const char *tok) argument 1449 ap_find_etag_weak(apr_pool_t *p, const char *line, const char *tok) argument 1589 ap_find_token(apr_pool_t *p, const char *line, const char *tok) argument 1624 ap_find_last_token(apr_pool_t *p, const char *line, const char *tok) argument [all...] |
/httpd/modules/examples/ |
H A D | mod_example_hooks.c | 482 static void trace_nocontext(apr_pool_t *p, const char *file, int line, argument 493 ap_log_perror(file, line, APLOG_MODULE_INDEX, APLOG_NOTICE, 0, p, "%s", note); 770 * This routine is called when the -t command-line option is supplied.
|
/httpd/modules/filters/ |
H A D | mod_substitute.c | 38 * Therefore we limit the resulting length of the line. 155 * line length reaches max_line_length. 226 * line length is larger than the limit, 227 * regardless of the content of the line. So, 367 * find a full "line", add it to our working brigade. 369 * any left over data (not a "full" line), store that 558 static const char *set_pattern(cmd_parms *cmd, void *cfg, const char *line) argument 571 if (apr_tolower(*line) != 's') { 574 ourline = apr_pstrdup(cmd->pool, line); 697 "Maximum line lengt [all...] |
/httpd/modules/core/ |
H A D | mod_macro.c | 89 #define trim(line) while (*(line) == ' ' || *(line) == '\t') (line)++ 92 return configuration-parsed arguments from line as an array. 93 the line is expected not to contain any '\n'? 95 static apr_array_header_t *get_arguments(apr_pool_t * pool, const char *line) argument 99 trim(line); 100 while (*line) { 101 char *arg = ap_getword_conf(pool, &line); 145 char line[MAX_STRING_LEN]; /* sorry, but this is expected by getline:-( */ local 461 char line[MAX_STRING_LEN]; local [all...] |
/httpd/modules/proxy/ |
H A D | mod_serf.c | 312 serf_status_line line; local 315 serf_bucket_response_status(response, &line); 316 ctx->r->status = line.code; 881 /* line format: <IP> <query_string>\n */
|
/httpd/include/ |
H A D | http_core.h | 261 * Check for a definition from the server command line 283 /** Where the require line is in the config file. */ 285 /** The complete string from the command line */ 854 /** line number in the source file, 0 if N/A */ 855 int line; member in struct:ap_errorlog_info 948 /** skip whole line if item is zero-length */ 1045 /** command line not yet parsed */
|
/httpd/modules/lua/ |
H A D | mod_lua.c | 908 * generates to be 'accuarate', including line numbers, we basically inject 909 * N line number new lines into the 'top' of the chunk reader..... 997 const char *line) 1002 const char *endp = ap_strrchr_c(line, '>'); 1009 line = apr_pstrndup(cmd->temp_pool, line, endp - line); 1011 if (line[0]) { 1013 word = ap_getword_conf(cmd->temp_pool, &line); 1017 word = ap_getword_conf(cmd->temp_pool, &line); 994 register_named_block_function_hook(const char *name, cmd_parms *cmd, void *mconfig, const char *line) argument 1302 register_translate_name_block(cmd_parms *cmd, void *_cfg, const char *line) argument 1317 register_fixups_block(cmd_parms *cmd, void *_cfg, const char *line) argument 1339 register_map_to_storage_block(cmd_parms *cmd, void *_cfg, const char *line) argument 1369 register_check_user_id_block(cmd_parms *cmd, void *_cfg, const char *line) argument 1383 register_type_checker_block(cmd_parms *cmd, void *_cfg, const char *line) argument 1412 register_access_checker_block(cmd_parms *cmd, void *_cfg, const char *line) argument 1442 register_auth_checker_block(cmd_parms *cmd, void *_cfg, const char *line) argument 1503 register_quick_block(cmd_parms *cmd, void *_cfg, const char *line) argument [all...] |
/httpd/modules/metadata/ |
H A D | mod_mime_magic.c | 71 * - Command-line flags have been removed since they will never be used here. 130 int lineno; /* line number from magic file */ 918 char line[BUFSIZ + 1]; local 945 for (lineno = 1; apr_file_gets(line, BUFSIZ, f) == APR_SUCCESS; lineno++) { 947 char *last = line + strlen(line) - 1; /* guaranteed that len >= 1 since an 948 * "empty" line contains a '\n' 952 while (last >= line 960 while (line[ws_offset] && apr_isspace(line[ws_offse [all...] |
/httpd/modules/mappers/ |
H A D | mod_rewrite.c | 213 /* max line length (incl.\n) in text rewrite maps */ 1275 char line[REWRITE_MAX_TXT_MAP_LINE + 1]; /* +1 for \0 */ local 1289 while (apr_file_gets(line, sizeof(line), fp) == APR_SUCCESS) { 1293 if (*line == '#' || apr_isspace(*line)) { 1297 p = line; 2682 * own command line parser for RewriteRule and RewriteCond, 2714 return "bad argument line: at least two arguments required"; 3302 /* parse the argument line oursel [all...] |