|
xmmsc_connection_t * | xmmsc_init (const char *clientname) |
| Initializes a xmmsc_connection_t. More...
|
|
int | xmmsc_connect (xmmsc_connection_t *c, const char *ipcpath) |
| Connects to the XMMS server. More...
|
|
void | xmmsc_disconnect_callback_set (xmmsc_connection_t *c, xmmsc_disconnect_func_t callback, void *userdata) |
| Set the disconnect callback. More...
|
|
void | xmmsc_disconnect_callback_set_full (xmmsc_connection_t *c, xmmsc_disconnect_func_t callback, void *userdata, xmmsc_user_data_free_func_t free_func) |
|
char * | xmmsc_get_last_error (xmmsc_connection_t *c) |
| Returns a string that descibes the last error. More...
|
|
void | xmmsc_unref (xmmsc_connection_t *c) |
| Dereference the xmmsc_connection_t and free the memory when reference count reaches zero. More...
|
|
xmmsc_connection_t * | xmmsc_ref (xmmsc_connection_t *c) |
| References the xmmsc_connection_t. More...
|
|
void | xmmsc_lock_set (xmmsc_connection_t *c, void *lock, void(*lockfunc)(void *), void(*unlockfunc)(void *)) |
| Set locking functions for a connection. More...
|
|
xmmsc_result_t * | xmmsc_quit (xmmsc_connection_t *c) |
| Tell the server to quit. More...
|
|
xmmsc_result_t * | xmmsc_broadcast_quit (xmmsc_connection_t *c) |
| Request the quit broadcast. More...
|
|
const char * | xmmsc_userconfdir_get (char *buf, int len) |
| Get the absolute path to the user config dir. More...
|
|
xmmsc_result_t * | xmmsc_send_broadcast_msg (xmmsc_connection_t *c, int signalid) |
|
uint32_t | xmmsc_write_signal_msg (xmmsc_connection_t *c, int signalid) |
|
xmmsc_result_t * | xmmsc_send_signal_msg (xmmsc_connection_t *c, int signalid) |
|
xmmsc_result_t * | xmmsc_send_msg_no_arg (xmmsc_connection_t *c, int object, int method) |
|
xmmsc_result_t * | xmmsc_send_msg (xmmsc_connection_t *c, xmms_ipc_msg_t *msg) |
|
xmmsc_result_t * | xmmsc_send_cmd (xmmsc_connection_t *c, int obj, int cmd,...) |
|
uint32_t | xmmsc_send_cmd_cookie (xmmsc_connection_t *c, int obj, int cmd,...) |
|
int | xmmsc_io_want_out (xmmsc_connection_t *c) |
| Check for pending output. More...
|
|
int | xmmsc_io_out_handle (xmmsc_connection_t *c) |
| Write pending data. More...
|
|
int | xmmsc_io_in_handle (xmmsc_connection_t *c) |
| Read available data. More...
|
|
int | xmmsc_io_fd_get (xmmsc_connection_t *c) |
| Retrieve filedescriptor for connection. More...
|
|
void | xmmsc_io_need_out_callback_set (xmmsc_connection_t *c, void(*callback)(int, void *), void *userdata) |
| Set callback for enabling/disabling writing. More...
|
|
void | xmmsc_io_need_out_callback_set_full (xmmsc_connection_t *c, void(*callback)(int, void *), void *userdata, xmmsc_user_data_free_func_t free_func) |
|
void | xmmsc_io_disconnect (xmmsc_connection_t *c) |
| Flag connection as disconnected. More...
|
|