summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-27 10:50:24 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-27 12:01:11 -0400
commit356f59b1bd66dc1db44e438846aaf431381743db (patch)
tree8ae85d4b723297b4e4897c2be3873719d3f8cf7a /src/common/util.h
parent67135ca8e041ac922d1045fe833c8052e652e5e7 (diff)
downloadtor-356f59b1bd66dc1db44e438846aaf431381743db.tar.gz
tor-356f59b1bd66dc1db44e438846aaf431381743db.zip
Move read/write_all_to_socket into lib/net.
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 1cb3e73b32..b7ac2a1761 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -118,9 +118,7 @@ int format_time_interval(char *out, size_t out_len, long interval);
/* File helpers */
ssize_t write_all_to_fd(int fd, const char *buf, size_t count);
-ssize_t write_all_to_socket(tor_socket_t fd, const char *buf, size_t count);
ssize_t read_all_from_fd(int fd, char *buf, size_t count);
-ssize_t read_all_from_socket(tor_socket_t fd, char *buf, size_t count);
#define write_all(fd, buf, count, isSock) \
((isSock) ? write_all_to_socket((fd), (buf), (count)) \