src/include/xmmsc/xmmsc_ipc_transport.h File Reference

#include "xmmsc/xmmsc_stdint.h"
#include "xmmsc/xmmsc_sockets.h"

Go to the source code of this file.

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

Definition at line 28 of file xmmsc_ipc_transport.h.

Definition at line 29 of file xmmsc_ipc_transport.h.

typedef int(* xmms_ipc_read_func)(xmms_ipc_transport_t *, char *, int)

Definition at line 26 of file xmmsc_ipc_transport.h.

Definition at line 24 of file xmmsc_ipc_transport.h.

typedef int(* xmms_ipc_write_func)(xmms_ipc_transport_t *, char *, int)

Definition at line 27 of file xmmsc_ipc_transport.h.


Function Documentation

xmms_ipc_transport_t* xmms_ipc_client_init ( const char *  path  ) 

Definition at line 9 of file transport_unix.c.

Referenced by main().

char* xmms_ipc_hostname ( const char *  path  ) 

Definition at line 67 of file transport.c.

xmms_ipc_transport_t* xmms_ipc_server_accept ( xmms_ipc_transport_t ipct  ) 

Definition at line 56 of file transport.c.

Referenced by main().

xmms_ipc_transport_t* xmms_ipc_server_init ( const char *  path  ) 

Definition at line 30 of file transport_unix.c.

Referenced by main(), and xmms_ipc_setup_server().

void xmms_ipc_transport_destroy ( xmms_ipc_transport_t ipct  ) 

Definition at line 27 of file transport.c.

xmms_socket_t xmms_ipc_transport_fd_get ( xmms_ipc_transport_t ipct  ) 

Definition at line 49 of file transport.c.

Referenced by main().

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

Definition at line 37 of file transport.c.

Referenced by main(), and xmms_ipc_msg_read_transport().

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

Definition at line 43 of file transport.c.

Referenced by main(), and xmms_ipc_msg_write_transport().


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