diff options
Diffstat (limited to 'src/gallery-utils.h')
| -rw-r--r-- | src/gallery-utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallery-utils.h b/src/gallery-utils.h index 4559fa4..1af8b84 100644 --- a/src/gallery-utils.h +++ b/src/gallery-utils.h @@ -27,6 +27,9 @@ G_BEGIN_DECLS #define IS_DIR_SEP(ch) ((ch) == '/' || (ch) == '~') #define IS_EQUAL_SIGN(ch) ((ch) == '=') +#define DEFAULT_DATA_DIR_MODE S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH + + /* * str_replace: replace substring 'search' with a 'replace' string * - multiple occurences of the string are replaced @@ -40,6 +43,11 @@ void str_replace (gchar **dst, const gchar *search, const gchar *replace); gboolean copy_file (const gchar *src, const gchar *dst); /* + * copy_file_dir: recursively copy file or directory from src to dst + */ +gboolean copy_file_dir (const gchar *src, const gchar *dst); + +/* * make_string: make string of 'substr' substrings * - returns newly allocated string */ |
