aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 614a5388a..8552fb19a 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -51,6 +51,8 @@ void tv_addms(struct timeval *a, long ms);
void tv_add(struct timeval *a, struct timeval *b);
int tv_cmp(struct timeval *a, struct timeval *b);
+int write_all(int fd, const void *buf, size_t count);
+
void set_socket_nonblocking(int socket);
/* Minimalist interface to run a void function in the background. On