Definition in file utils_unix.c.
#include <stdlib.h>
#include <unistd.h>
#include <pwd.h>
#include "xmms_configuration.h"
#include "xmmsc/xmmsc_util.h"
Go to the source code of this file.
Functions | |
const char * | xmms_usercachedir_get (char *buf, int len) |
Get the absolute path to the user cache dir. | |
const char * | xmms_userconfdir_get (char *buf, int len) |
Get the absolute path to the user config dir. | |
const char * | xmms_fallback_ipcpath_get (char *buf, int len) |
Get the fallback connection path (if XMMS_PATH is not accessible). |
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 (PATH_MAX is a good choice) |
Definition at line 91 of file utils_unix.c.
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 (PATH_MAX is a good choice) |
Definition at line 65 of file utils_unix.c.
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 (PATH_MAX is a good choice) |
Definition at line 78 of file utils_unix.c.