summaryrefslogtreecommitdiffhomepage
path: root/src/html-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/html-error.h')
-rw-r--r--src/html-error.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/html-error.h b/src/html-error.h
index 03cec98..bc9b7ce 100644
--- a/src/html-error.h
+++ b/src/html-error.h
@@ -23,8 +23,9 @@
/* Forward declaration */
struct conn_s;
+struct config_s;
-extern int add_new_errorpage (char *filepath, unsigned int errornum);
+extern int add_new_errorpage (struct config_s *, char *filepath, unsigned int errornum);
extern int send_http_error_message (struct conn_s *connptr);
extern int indicate_http_error (struct conn_s *connptr, int number,
const char *message, ...);
@@ -32,7 +33,7 @@ extern int add_error_variable (struct conn_s *connptr, const char *key,
const char *val);
extern int send_html_file (FILE * infile, struct conn_s *connptr);
extern int send_http_headers (struct conn_s *connptr, int code,
- const char *message);
+ const char *message, const char *extra);
extern int add_standard_vars (struct conn_s *connptr);
#endif /* !TINYPROXY_HTML_ERROR_H */