diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-15 02:07:27 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-15 02:07:27 +0000 |
commit | a5d32127517010c7d09f669aff613e98057ea6b4 (patch) | |
tree | 584648131a6bc963cbb2cf760afc324ff6d18ae3 /src/utils.h | |
parent | c86d22226ff952b33cf4fbee23f0172b86230024 (diff) |
Changed the error boolean flag into a pointer to an error string and an
error code. We're storing this information because tinyproxy doesn't
output the error information until _after_ the client has sent it's
information.
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h index a401201..1e19bad 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,4 +1,4 @@ -/* $Id: utils.h,v 1.13 2001-11-25 02:22:05 rjkaes Exp $ +/* $Id: utils.h,v 1.14 2002-04-15 02:07:27 rjkaes Exp $ * * See 'utils.h' for a detailed description. * @@ -32,7 +32,8 @@ extern int send_http_message(struct conn_s *connptr, int http_code, const char *error_title, const char *message); -extern int httperr(struct conn_s *connptr, int err, const char *msg); +extern int send_http_error_message(struct conn_s *connptr); +extern int indicate_http_error(struct conn_s* connptr, int number, const char *string); extern void makedaemon(void); extern void pidfile_create(const char *path); |