diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-12-24 00:01:32 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-12-24 00:01:32 +0000 |
commit | b10221fa0717a0718aaee75e1d1964d069326062 (patch) | |
tree | 0bdf681fee41bf453b2c08ac2bd4519b61aac121 /src/sock.h | |
parent | 475e526a487c81a74f9eb6915de53db8d89261fa (diff) | |
download | tinyproxy-b10221fa0717a0718aaee75e1d1964d069326062.tar.gz tinyproxy-b10221fa0717a0718aaee75e1d1964d069326062.zip |
Added the write_message() function (from reqs.c)
Diffstat (limited to '')
-rw-r--r-- | src/sock.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |