From 2dda97e8fd89875739b5f57f556c748ce7f5925f Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 20 Aug 2003 23:05:22 +0000 Subject: implemented cpuworkers please poke at it and report bugs still needs polishing, and only handles onions now (should handle OR handshakes too) svn:r402 --- src/common/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/util.h') 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 -- cgit v1.2.3