diff options
author | Dan Winship <danw@src.gnome.org> | 2000-10-08 03:41:42 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-10-08 03:41:42 +0800 |
commit | 9acde37ac54919dbe9f8d49a1fc7aa914327f3ff (patch) | |
tree | c88c43588af0793739d125ce6d63281f6851b818 /e-util/e-util.h | |
parent | ee625ee5fcc71e9d17fafd53fa17c7cd73558c9f (diff) | |
download | gsoc2013-evolution-9acde37ac54919dbe9f8d49a1fc7aa914327f3ff.tar gsoc2013-evolution-9acde37ac54919dbe9f8d49a1fc7aa914327f3ff.tar.gz gsoc2013-evolution-9acde37ac54919dbe9f8d49a1fc7aa914327f3ff.tar.bz2 gsoc2013-evolution-9acde37ac54919dbe9f8d49a1fc7aa914327f3ff.tar.lz gsoc2013-evolution-9acde37ac54919dbe9f8d49a1fc7aa914327f3ff.tar.xz gsoc2013-evolution-9acde37ac54919dbe9f8d49a1fc7aa914327f3ff.tar.zst gsoc2013-evolution-9acde37ac54919dbe9f8d49a1fc7aa914327f3ff.zip |
New function to make a directory and (if needed), its parents
* gal/util/e-util.c (e_mkdir_hier): New function to make a
directory and (if needed), its parents
svn path=/trunk/; revision=5778
Diffstat (limited to 'e-util/e-util.h')
-rw-r--r-- | e-util/e-util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/e-util/e-util.h b/e-util/e-util.h index 0b252a174a..ef331bf9d5 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -3,6 +3,7 @@ #include <glib.h> #include <gtk/gtktypeutils.h> +#include <sys/types.h> #define E_MAKE_TYPE(l,str,t,ci,i,parent) \ GtkType l##_get_type(void)\ @@ -40,7 +41,8 @@ void e_free_object_list (GList *list); void e_free_string_list (GList *list); char *e_read_file (const char *filename); -gint e_write_file(const char *filename, const char *data, int flags); +int e_write_file (const char *filename, const char *data, int flags); +int e_mkdir_hier (const char *path, mode_t mode); gchar **e_strsplit (const gchar *string, const gchar *delimiter, |