XMMS2
socket_common.c
Go to the documentation of this file.
3
4#ifdef HAVE_WSPIAPI
5#include <wspiapi.h>
6#endif
7
8bool
10{
13 return true;
14 }
15 return false;
16}
17
18int
19xmms_getaddrinfo (const char *node, const char *service,
20 const struct addrinfo *hints, struct addrinfo **res)
21{
22 return getaddrinfo (node, service, hints, res);
23}
24
25void
26xmms_freeaddrinfo (struct addrinfo *res)
27{
28 freeaddrinfo (res);
29}
bool xmms_socket_error_recoverable()
Definition: socket_common.c:9
void xmms_freeaddrinfo(struct addrinfo *res)
Definition: socket_common.c:26
int xmms_getaddrinfo(const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res)
Definition: socket_common.c:19
#define XMMS_EAGAIN
Definition: xmmsc_sockets.h:24
#define XMMS_EINTR
Definition: xmmsc_sockets.h:18
int xmms_socket_errno(void)
Definition: socket_unix.c:51