diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index e9ab44d..53b457f 100644 --- a/src/utils.h +++ b/src/utils.h @@ -21,6 +21,8 @@ ssize_t safe_readn(int fd, void *buf, size_t len); ssize_t safe_write(int fd, const void *buf, size_t count); ssize_t full_write(int fd, const void *buf, size_t len); int set_nonblocking(int fd); +int udp_cork(int fd, int corked); +int tcp_cork(int fd, int corked); int inet_conn_str(const char *host, int port, int type); int inet_conn_ia(struct in_addr *host, int port, int type); |