XMMS2
Data Structures | Typedefs | Functions
xmmsc_ipc_transport.h File Reference
#include <xmmsc/xmmsc_stdint.h>
#include <xmmsc/xmmsc_sockets.h>

Data Structures

struct  xmms_ipc_transport_St
 

Typedefs

typedef struct
xmms_ipc_transport_St 
xmms_ipc_transport_t
 
typedef int(* xmms_ipc_read_func )(xmms_ipc_transport_t *, char *, int)
 
typedef int(* xmms_ipc_write_func )(xmms_ipc_transport_t *, char *, int)
 
typedef xmms_ipc_transport_t *(* xmms_ipc_accept_func )(xmms_ipc_transport_t *)
 
typedef void(* xmms_ipc_destroy_func )(xmms_ipc_transport_t *)
 

Functions

void xmms_ipc_transport_destroy (xmms_ipc_transport_t *ipct)
 
int xmms_ipc_transport_read (xmms_ipc_transport_t *ipct, char *buffer, int len)
 
int xmms_ipc_transport_write (xmms_ipc_transport_t *ipct, char *buffer, int len)
 
xmms_socket_t xmms_ipc_transport_fd_get (xmms_ipc_transport_t *ipct)
 
xmms_ipc_transport_txmms_ipc_server_accept (xmms_ipc_transport_t *ipct)
 
xmms_ipc_transport_txmms_ipc_client_init (const char *path)
 
xmms_ipc_transport_txmms_ipc_server_init (const char *path)
 
char * xmms_ipc_hostname (const char *path)
 

Typedef Documentation

typedef xmms_ipc_transport_t*(* xmms_ipc_accept_func)(xmms_ipc_transport_t *)
typedef void(* xmms_ipc_destroy_func)(xmms_ipc_transport_t *)
typedef int(* xmms_ipc_read_func)(xmms_ipc_transport_t *, char *, int)
typedef int(* xmms_ipc_write_func)(xmms_ipc_transport_t *, char *, int)

Function Documentation

xmms_ipc_transport_t* xmms_ipc_client_init ( const char *  path)

Referenced by main().

char* xmms_ipc_hostname ( const char *  path)
xmms_ipc_transport_t* xmms_ipc_server_accept ( xmms_ipc_transport_t ipct)

Referenced by main().

xmms_ipc_transport_t* xmms_ipc_server_init ( const char *  path)

Referenced by main(), and xmms_ipc_setup_server().

void xmms_ipc_transport_destroy ( xmms_ipc_transport_t ipct)
xmms_socket_t xmms_ipc_transport_fd_get ( xmms_ipc_transport_t ipct)

Referenced by main().

int xmms_ipc_transport_read ( xmms_ipc_transport_t ipct,
char *  buffer,
int  len 
)
int xmms_ipc_transport_write ( xmms_ipc_transport_t ipct,
char *  buffer,
int  len 
)