|
|
|
@ -8,22 +8,16 @@ |
|
|
|
|
|
|
|
|
|
EAPI const char *e_user_homedir_get(void); |
|
|
|
|
EAPI size_t e_user_homedir_concat_len(char *dst, size_t size, const char *path, size_t path_len); |
|
|
|
|
EAPI size_t e_user_homedir_concat(char *dst, size_t size, const char *path); |
|
|
|
|
EAPI size_t e_user_homedir_snprintf(char *dst, size_t size, const char *fmt, ...) EINA_PRINTF(3, 4); |
|
|
|
|
|
|
|
|
|
static inline size_t e_user_homedir_concat(char *dst, size_t size, const char *path) |
|
|
|
|
{ |
|
|
|
|
return e_user_homedir_concat_len(dst, size, path, strlen(path)); |
|
|
|
|
} |
|
|
|
|
#define e_user_homedir_concat_static(dst, path) e_user_homedir_concat_len(dst, sizeof(dst), path, (sizeof(path) > 0) ? sizeof(path) - 1 : 0) |
|
|
|
|
|
|
|
|
|
EAPI const char *e_user_dir_get(void); |
|
|
|
|
EAPI size_t e_user_dir_concat_len(char *dst, size_t size, const char *path, size_t path_len); |
|
|
|
|
EAPI size_t e_user_dir_concat(char *dst, size_t size, const char *path); |
|
|
|
|
EAPI size_t e_user_dir_snprintf(char *dst, size_t size, const char *fmt, ...) EINA_PRINTF(3, 4); |
|
|
|
|
|
|
|
|
|
static inline size_t e_user_dir_concat(char *dst, size_t size, const char *path) |
|
|
|
|
{ |
|
|
|
|
return e_user_dir_concat_len(dst, size, path, strlen(path)); |
|
|
|
|
} |
|
|
|
|
#define e_user_dir_concat_static(dst, path) e_user_dir_concat_len(dst, sizeof(dst), path, (sizeof(path) > 0) ? sizeof(path) - 1 : 0) |
|
|
|
|
|
|
|
|
|
EAPI const char *e_user_desktop_dir_get(void); |
|
|
|
|