about summary refs log tree commit diff stats
path: root/src/common.h
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2013-08-03 14:14:30 +0300
committerDmitry Podgorny <pasis.ua@gmail.com>2013-08-03 14:14:30 +0300
commit6f498d1f69098742acc33d429c5e8dcee4edd86d (patch)
tree6a91c03cc8f726a6b616a2ccc23ea8cd8688ad75 /src/common.h
parentc559d96d7739d499f9b747839e1115d28976306f (diff)
downloadprofani-tty-6f498d1f69098742acc33d429c5e8dcee4edd86d.tar.gz
refactored mkdir_recursive
Now this function returns result of operation. TRUE is success.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index f8ed82a5..469a63ec 100644
--- a/src/common.h
+++ b/src/common.h
@@ -72,8 +72,8 @@ typedef enum {
 
 gchar* p_utf8_substring(const gchar *str, glong start_pos, glong end_pos);
 void p_slist_free_full(GSList *items, GDestroyNotify free_func);
-void create_dir(char *name);
-void mkdir_recursive(const char *dir);
+gboolean create_dir(char *name);
+gboolean mkdir_recursive(const char *dir);
 char * str_replace(const char *string, const char *substr,
     const char *replacement);
 int str_contains(char str[], int size, char ch);