summaryrefslogtreecommitdiff
path: root/src/sock.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-24 00:01:32 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-24 00:01:32 +0000
commitb10221fa0717a0718aaee75e1d1964d069326062 (patch)
tree0bdf681fee41bf453b2c08ac2bd4519b61aac121 /src/sock.h
parent475e526a487c81a74f9eb6915de53db8d89261fa (diff)
downloadtinyproxy-b10221fa0717a0718aaee75e1d1964d069326062.tar.gz
tinyproxy-b10221fa0717a0718aaee75e1d1964d069326062.zip
Added the write_message() function (from reqs.c)
Diffstat (limited to '')
-rw-r--r--src/sock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sock.h b/src/sock.h
index 5b09f63..67a8200 100644
--- a/src/sock.h
+++ b/src/sock.h
@@ -1,4 +1,4 @@
-/* $Id: sock.h,v 1.8 2001-12-15 20:04:04 rjkaes Exp $
+/* $Id: sock.h,v 1.9 2001-12-24 00:01:32 rjkaes Exp $
*
* See 'sock.c' for a detailed description.
*
@@ -38,6 +38,7 @@ extern char *getpeer_string(int fd, char *string);
extern ssize_t safe_write(int fd, const char *buffer, size_t count);
extern ssize_t safe_read(int fd, char *buffer, size_t count);
+extern int write_message(int fd, const char *fmt, ...);
extern ssize_t readline(int fd, char **whole_buffer);
#endif