aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.h b/common.h
index 84aa22c0..d9c7cc27 100644
--- a/common.h
+++ b/common.h
@@ -358,5 +358,12 @@ void write_screen( const wchar_t *msg, string_buffer_t *buff );
void tokenize_variable_array( const wchar_t *val, array_list_t *out );
+/**
+ Make sure the specified direcotry exists. If no, try to create it.
+
+ \return 0 if the directory exists, -1 otherwise.
+*/
+int create_directory( wchar_t *d );
+
#endif