XMMS2
|
Macros | |
#define | XMMS_STRINGIFY_NOEXPAND(x) |
#define | XMMS_STRINGIFY(x) |
#define | XMMS_PATH_MAX 255 |
#define | XMMS_DEFAULT_TCP_PORT 9667 |
#define | XMMS_DEFAULT_UDP_PORT 9667 |
Functions | |
const char * | xmms_userconfdir_get (char *buf, int len) |
Get the absolute path to the user config dir. | |
const char * | xmms_usercachedir_get (char *buf, int len) |
Get the absolute path to the user cache dir. | |
const char * | xmms_default_ipcpath_get (char *buf, int len) |
Get the default connection path. | |
const char * | xmms_fallback_ipcpath_get (char *buf, int len) |
Get the fallback connection path (if XMMS_PATH is not accessible) | |
bool | xmms_sleep_ms (int n) |
Sleep for n milliseconds. |
#define XMMS_DEFAULT_TCP_PORT 9667 |
Referenced by xmms_fallback_ipcpath_get(), xmms_ipc_tcp_client_init(), and xmms_ipc_tcp_server_init().
#define XMMS_DEFAULT_UDP_PORT 9667 |
Referenced by init_udp().
#define XMMS_PATH_MAX 255 |
Referenced by main(), and xmms_build_path().
#define XMMS_STRINGIFY | ( | x | ) |
Referenced by xmms_fallback_ipcpath_get(), xmms_ipc_tcp_client_init(), and xmms_ipc_tcp_server_init().
#define XMMS_STRINGIFY_NOEXPAND | ( | x | ) |
const char * xmms_default_ipcpath_get | ( | char * | buf, |
int | len ) |
Get the default connection path.
buf | A char buffer |
len | The length of buf (XMMS_PATH_MAX is a good choice) |
const char * xmms_fallback_ipcpath_get | ( | char * | buf, |
int | len ) |
Get the fallback connection path (if XMMS_PATH is not accessible)
buf | A char buffer |
len | The length of buf (XMMS_PATH_MAX is a good choice) |
Referenced by main(), and xmms_default_ipcpath_get().
bool xmms_sleep_ms | ( | int | n | ) |
Sleep for n milliseconds.
n | The number of milliseconds to sleep. |
const char * xmms_usercachedir_get | ( | char * | buf, |
int | len ) |
Get the absolute path to the user cache dir.
buf | a char buffer |
len | the lenght of buf (XMMS_PATH_MAX is a good choice) |
const char * xmms_userconfdir_get | ( | char * | buf, |
int | len ) |
Get the absolute path to the user config dir.
buf | A char buffer |
len | The length of buf (XMMS_PATH_MAX is a good choice) |
Referenced by xmms_build_path().