util_script.c revision 3bfb70ee0cbb60072d4ccbee03b6a2e247da6bf2
6115N/A#include "apr_strings.h"
6115N/A#define APR_WANT_STRFUNC
6115N/A#include "apr_want.h"
6115N/A#include "ap_config.h"
6115N/A#include "http_config.h"
6115N/A#include "http_main.h"
6115N/A#include "http_log.h"
6115N/A#include "http_core.h"
6115N/A#include "http_protocol.h"
6115N/A#include "util_script.h"
6135N/A#include "util_ebcdic.h"
6115N/A if (apr_isalnum(c)) {
*cp = 0;
return res;
char *tz;
char *whack;
++whack;
return env;
apr_table_t *e;
const char *env_temp;
e = r->subprocess_env;
#ifndef SECURITY_HOLE_PASS_AUTHORIZATION
#if defined(WIN32)
if (r->user) {
else if (r->prev) {
while (back) {
if (env_temp) {
if (r->prev) {
if (e != r->subprocess_env) {
lu = 0;
lu++;
return lu;
NULL);
NULL);
#ifdef WIN32
int (*getsfunc) (char *, int, void *),
void *getsfunc_data,
int module_index)
char x[MAX_STRING_LEN];
if (buffer) {
if (rv == 0) {
if (first_header)
return HTTP_INTERNAL_SERVER_ERROR;
return HTTP_GATEWAY_TIME_OUT;
p = strlen(w);
return cond_status;
if (trace_log) {
if (first_header)
++maybeEBCDIC;
++maybeASCII;
r->filename);
if (!buffer) {
return HTTP_INTERNAL_SERVER_ERROR;
while (*l && apr_isspace(*l)) {
char *tmp;
first_header = 0;
return OK;
int (*getsfunc) (char *, int, void *),
void *getsfunc_data)
char *buffer)
int done = 0;
&& !APR_BUCKET_IS_EOS(e)) {
const char *bucket_data;
const char *src;
const char *src_end;
src++;
e = next;
*dst = 0;
return done;
char *buffer)
char *buffer,
int module_index)
struct vastrs {
int arg;
const char *curpos;
if (t > len)
t = len;
char *buffer,
int module_index,
const char **termch,
int *termarg, ...)
int res;
if (termch)
if (termarg)
return res;
char *buffer,
const char **termch,
int *termarg, ...)
int res;
if (termch)
if (termarg)
return res;
char *key;
char *value;
char *strtok_state;
while (key) {
if (value) {
*table = t;