|
XMMS2
|
Macros | |
| #define | XMMS_STRINGIFY_NOEXPAND(x) #x |
| #define | XMMS_STRINGIFY(x) XMMS_STRINGIFY_NOEXPAND(x) |
| #define | XMMS_PATH_MAX 255 |
| #define | XMMS_DEFAULT_TCP_PORT 9667 |
Functions | |
| const char * | xmms_userconfdir_get (char *buf, int len) |
| Get the absolute path to the user config dir. More... | |
| const char * | xmms_usercachedir_get (char *buf, int len) |
| Get the absolute path to the user cache dir. More... | |
| const char * | xmms_default_ipcpath_get (char *buf, int len) |
| Get the default connection path. More... | |
| const char * | xmms_fallback_ipcpath_get (char *buf, int len) |
| Get the fallback connection path (if XMMS_PATH is not accessible) More... | |
| bool | xmms_sleep_ms (int n) |
| Sleep for n milliseconds. More... | |
| #define XMMS_DEFAULT_TCP_PORT 9667 |
Referenced by init_udp(), xmms_fallback_ipcpath_get(), xmms_ipc_tcp_client_init(), and xmms_ipc_tcp_server_init().
| #define XMMS_PATH_MAX 255 |
Referenced by main(), and xmms_build_path().
| #define XMMS_STRINGIFY | ( | x | ) | XMMS_STRINGIFY_NOEXPAND(x) |
Referenced by xmms_fallback_ipcpath_get(), xmms_ipc_tcp_client_init(), and xmms_ipc_tcp_server_init().
| #define XMMS_STRINGIFY_NOEXPAND | ( | x | ) | #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().