diff options
Diffstat (limited to 'libusbmuxd/sock_stuff.h')
| -rw-r--r-- | libusbmuxd/sock_stuff.h | 2 |
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 { | |||
| 33 | }; | 33 | }; |
| 34 | typedef enum fd_mode fd_mode; | 34 | typedef enum fd_mode fd_mode; |
| 35 | 35 | ||
| 36 | #ifndef WIN32 | ||
| 36 | int create_unix_socket(const char *filename); | 37 | int create_unix_socket(const char *filename); |
| 37 | int connect_unix_socket(const char *filename); | 38 | int connect_unix_socket(const char *filename); |
| 39 | #endif | ||
| 38 | int create_socket(uint16_t port); | 40 | int create_socket(uint16_t port); |
| 39 | int connect_socket(const char *addr, uint16_t port); | 41 | int connect_socket(const char *addr, uint16_t port); |
| 40 | int check_fd(int fd, fd_mode fdm, unsigned int timeout); | 42 | int check_fd(int fd, fd_mode fdm, unsigned int timeout); |
