diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-02 11:56:25 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-11 21:06:34 +0200 |
commit | 0f9640a5f33d4d0c76df75cb7a6cb07baac049f0 (patch) | |
tree | 7d09fe5119b11d4d38313098e6846e2413ff0a19 /src/core/wee-dir.h | |
parent | 4c5fcb743b2e512c407a09ca95d155c9e6edd2bd (diff) | |
download | weechat-0f9640a5f33d4d0c76df75cb7a6cb07baac049f0.zip |
core: split WeeChat home in 4 directories, use XDG directories by default (issue #1285)
The 4 directories (which can be the same):
- config: configuration files, certificates
- data: log/upgrade files, local plugins, scripts, xfer files
- cache: script repository, scripts downloaded (temporary location)
- runtime: FIFO pipe, relay UNIX sockets
Diffstat (limited to 'src/core/wee-dir.h')
-rw-r--r-- | src/core/wee-dir.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/wee-dir.h b/src/core/wee-dir.h index 8292eb1cc..489ca2a64 100644 --- a/src/core/wee-dir.h +++ b/src/core/wee-dir.h @@ -33,6 +33,8 @@ extern void dir_exec_on_files (const char *directory, int recurse_subdirs, extern char *dir_search_full_lib_name (const char *filename, const char *sys_directory); extern char *dir_file_get_content (const char *filename); -extern void dir_create_home_dir (); +extern void dir_create_home_dirs (); +extern void dir_remove_home_dirs (); +extern char *dir_get_string_home_dirs (); #endif /* WEECHAT_DIR_H */ |