mkpath() - behaves like mkdir -p. Autologging now uses it to create

log directories.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@591 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-08-12 15:50:50 +00:00 committed by cras
commit 6675cec459
3 changed files with 37 additions and 1 deletions

View file

@ -41,6 +41,9 @@ char *stristr_full(const char *data, const char *key);
/* easy way to check if regexp matches */
int regexp_match(const char *str, const char *regexp);
/* Create the directory and all it's parent directories */
int mkpath(const char *path, int mode);
/* convert ~/ to $HOME */
char *convert_home(const char *path);
/* Case-insensitive string hash functions */