XMMS2
|
Miscellaneous internal utility functions. More...
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <pwd.h>
#include <time.h>
#include <errno.h>
#include <xmms_configuration.h>
#include <xmmsc/xmmsc_util.h>
Functions | |
const char * | xmms_usercachedir_get (char *buf, int len) |
Get the absolute path to the user cache dir. More... | |
const char * | xmms_userconfdir_get (char *buf, int len) |
Get the absolute path to the user config dir. 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... | |
Miscellaneous internal utility functions.
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) |
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) |