diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-03-13 21:27:29 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-03-13 21:27:29 +0000 |
commit | 056bbf84bdf87b95b9da9599db237a3392a5fe62 (patch) | |
tree | 321580099d038eed35084f20b9aac6205fcbce70 /src/conns.h | |
parent | a830af509760d99d6ea2d30e8a848795ad97e2cc (diff) |
# Added variables to keep track of the variables to be substituted in
.html files displayed to the client [Steven Young]
Diffstat (limited to 'src/conns.h')
-rw-r--r-- | src/conns.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/conns.h b/src/conns.h index bea6b47..1357dc2 100644 --- a/src/conns.h +++ b/src/conns.h @@ -1,4 +1,4 @@ -/* $Id: conns.h,v 1.11 2002-12-04 17:06:13 rjkaes Exp $ +/* $Id: conns.h,v 1.12 2003-03-13 21:27:29 rjkaes Exp $ * * See 'conns.c' for a detailed description. * @@ -37,9 +37,20 @@ struct conn_s { unsigned int connect_method; unsigned int show_stats; - /* Store the error response if there is one */ - char *error_string; + /* + * Store the error response if there is one. + * This structure stores key -> value mappings for substitution + * in the error HTML files. a NULL pointer indicates the end of + * the array + */ + struct error_variable_s { + char *error_key; + char *error_val; + } **error_variables; + int error_variable_count; + int error_number; + char *error_string; /* A Content-Length value from the remote server */ long remote_content_length; |