XmmsClient
|
#include <xmmsc/xmmsc_compiler.h>
#include <xmmsc/xmmsc_stdbool.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
Macros | |
#define | SOCKET_ERROR (-1) |
#define | XMMS_EINTR EINTR |
#define | XMMS_EINPROGRESS EINPROGRESS |
#define | XMMS_EAGAIN EWOULDBLOCK |
Typedefs | |
typedef int | xmms_socket_t |
Functions | |
int | xmms_sockets_initialize (void) |
int | xmms_socket_set_nonblock (xmms_socket_t socket) |
int | xmms_socket_valid (xmms_socket_t socket) |
void | xmms_socket_invalidate (xmms_socket_t *socket) |
void | xmms_socket_close (xmms_socket_t socket) |
int | xmms_socket_errno (void) |
bool | xmms_socket_error_recoverable (void) |
int | xmms_getaddrinfo (const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res) |
void | xmms_freeaddrinfo (struct addrinfo *res) |
#define SOCKET_ERROR (-1) |
Referenced by xmmsc_ipc_wait_for_event().
#define XMMS_EAGAIN EWOULDBLOCK |
#define XMMS_EINPROGRESS EINPROGRESS |
#define XMMS_EINTR EINTR |
typedef int xmms_socket_t |
void xmms_freeaddrinfo | ( | struct addrinfo * | res | ) |
int xmms_getaddrinfo | ( | const char * | node, |
const char * | service, | ||
const struct addrinfo * | hints, | ||
struct addrinfo ** | res | ||
) |
void xmms_socket_close | ( | xmms_socket_t | socket | ) |
Referenced by cleanup_udp().
int xmms_socket_errno | ( | void | ) |
bool xmms_socket_error_recoverable | ( | void | ) |
Referenced by read_do_udp().
void xmms_socket_invalidate | ( | xmms_socket_t * | socket | ) |
int xmms_socket_set_nonblock | ( | xmms_socket_t | socket | ) |
int xmms_socket_valid | ( | xmms_socket_t | socket | ) |
int xmms_sockets_initialize | ( | void | ) |