]> code.delx.au - pulseaudio/blob - src/pulsecore/socket.h
remap: Change remapping function argument type from void to int16_t / float as approp...
[pulseaudio] / src / pulsecore / socket.h
1 #ifndef foopulsecoresockethfoo
2 #define foopulsecoresockethfoo
3
4 #ifdef HAVE_SYS_SOCKET_H
5 #include <sys/socket.h>
6 #endif
7
8 #ifdef HAVE_WINSOCK2_H
9 #include <winsock2.h>
10
11 #define ESHUTDOWN WSAESHUTDOWN
12 #define ECONNRESET WSAECONNRESET
13 #define ECONNABORTED WSAECONNABORTED
14 #define ENETRESET WSAENETRESET
15 #define EINPROGRESS WSAEINPROGRESS
16 #define EAFNOSUPPORT WSAEAFNOSUPPORT
17 #define ETIMEDOUT WSAETIMEDOUT
18 #define ECONNREFUSED WSAECONNREFUSED
19 #define EHOSTUNREACH WSAEHOSTUNREACH
20 #define EWOULDBLOCK WSAEWOULDBLOCK
21 #define EADDRINUSE WSAEADDRINUSE
22
23 typedef long suseconds_t;
24
25 #endif
26
27 #ifdef HAVE_WS2TCPIP_H
28 #include <ws2tcpip.h>
29 #endif
30
31 #endif