diff options
Diffstat (limited to 'src/network.h')
-rw-r--r-- | src/network.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/network.h b/src/network.h index 3ba7d6a..b6ddaa6 100644 --- a/src/network.h +++ b/src/network.h @@ -21,13 +21,13 @@ #ifndef TINYPROXY_NETWORK_H #define TINYPROXY_NETWORK_H -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 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); +extern int write_message (int fd, const char *fmt, ...); +extern ssize_t readline (int fd, char **whole_buffer); -extern char *get_ip_string(struct sockaddr *sa, char *buf, size_t len); -extern int full_inet_pton(const char *ip, void *dst); +extern char *get_ip_string (struct sockaddr *sa, char *buf, size_t len); +extern int full_inet_pton (const char *ip, void *dst); #endif |