summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/sock_stuff.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-05-24 17:44:46 +0200
committerGravatar Nikias Bassen2010-05-26 01:39:27 +0200
commit1ad796af4f37a69a22b74dc067f8b8e0e44c9a59 (patch)
tree743c3629ae4cde3017338fad4ac6b0f33ec7f62d /libusbmuxd/sock_stuff.h
parentc85b32434962a2999f9e6872bba4d24433e13577 (diff)
downloadusbmuxd-1ad796af4f37a69a22b74dc067f8b8e0e44c9a59.tar.gz
usbmuxd-1ad796af4f37a69a22b74dc067f8b8e0e44c9a59.tar.bz2
libusbmuxd: win32 does not support unix domain sockets
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 eb53359..5405b04 100644
--- a/libusbmuxd/sock_stuff.h
+++ b/libusbmuxd/sock_stuff.h
@@ -33,8 +33,10 @@ enum fd_mode {
};
typedef enum fd_mode fd_mode;
+#ifndef WIN32
int create_unix_socket(const char *filename);
int connect_unix_socket(const char *filename);
+#endif
int create_socket(uint16_t port);
int connect_socket(const char *addr, uint16_t port);
int check_fd(int fd, fd_mode fdm, unsigned int timeout);