diff options
Diffstat (limited to 'src/core/wee-dir.h')
-rw-r--r-- | src/core/wee-dir.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/wee-dir.h b/src/core/wee-dir.h index 861a68182..b02d31e28 100644 --- a/src/core/wee-dir.h +++ b/src/core/wee-dir.h @@ -25,6 +25,9 @@ extern int dir_mkdir_home (const char *directory, int mode); extern int dir_mkdir (const char *directory, int mode); extern int dir_mkdir_parents (const char *directory, int mode); extern int dir_rmtree (const char *directory); +extern void dir_create_home_dirs (); +extern void dir_remove_home_dirs (); +extern char *dir_get_string_home_dirs (); extern void dir_exec_on_files (const char *directory, int recurse_subdirs, int hidden_files, void (*callback)(void *data, @@ -34,8 +37,7 @@ extern char *dir_search_full_lib_name (const char *filename, const char *sys_directory); extern char *dir_file_get_content (const char *filename); extern int dir_file_copy (const char *from, const char *to); -extern void dir_create_home_dirs (); -extern void dir_remove_home_dirs (); -extern char *dir_get_string_home_dirs (); +extern int dir_file_compress (const char *from, const char *to, + const char *compressor, int compression_level); #endif /* WEECHAT_DIR_H */ |