summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/sock_stuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'libusbmuxd/sock_stuff.h')
-rw-r--r--libusbmuxd/sock_stuff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libusbmuxd/sock_stuff.h b/libusbmuxd/sock_stuff.h
index db90385..eb9622c 100644
--- a/libusbmuxd/sock_stuff.h
+++ b/libusbmuxd/sock_stuff.h
@@ -43,6 +43,8 @@ int connect_socket(const char *addr, uint16_t port);
#endif
int check_fd(int fd, fd_mode fdm, unsigned int timeout);
+int close_socket(int fd);
+
int recv_buf(int fd, void *data, size_t size);
int peek_buf(int fd, void *data, size_t size);
int recv_buf_timeout(int fd, void *data, size_t size, int flags,