summaryrefslogtreecommitdiffhomepage
path: root/src/utils.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-15 02:07:27 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-15 02:07:27 +0000
commita5d32127517010c7d09f669aff613e98057ea6b4 (patch)
tree584648131a6bc963cbb2cf760afc324ff6d18ae3 /src/utils.h
parentc86d22226ff952b33cf4fbee23f0172b86230024 (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.h5
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);