src/lib/xmmssocket/socket_unix.c File Reference

#include <errno.h>
#include "xmmsc/xmmsc_sockets.h"

Go to the source code of this file.


int xmms_sockets_initialize ()
int xmms_socket_set_nonblock (xmms_socket_t socket)
 Tries to set socket to non-blocking mode.
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 ()

Function Documentation

void xmms_socket_close ( xmms_socket_t  socket  ) 

Definition at line 47 of file socket_unix.c.

int xmms_socket_errno ( void   ) 

Definition at line 51 of file socket_unix.c.

void xmms_socket_invalidate ( xmms_socket_t socket  ) 

Definition at line 43 of file socket_unix.c.

int xmms_socket_set_nonblock ( xmms_socket_t  socket  ) 

Tries to set socket to non-blocking mode.

socket Socket to make non-blocking. On success, returns 1. On failure, closes socket and returns 0.

Definition at line 15 of file socket_unix.c.

int xmms_socket_valid ( xmms_socket_t  socket  ) 

Definition at line 36 of file socket_unix.c.

int xmms_sockets_initialize ( void   ) 

Definition at line 5 of file socket_unix.c.

Generated on Tue Feb 23 18:14:36 2010 for XMMS2 by  doxygen 1.6.1