--- libaitio/inc/aitio.h 2010/09/08 18:12:39 1.4.2.13 +++ libaitio/inc/aitio.h 2010/09/10 12:38:26 1.4.2.14 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.4.2.13 2010/09/08 18:12:39 misho Exp $ +* $Id: aitio.h,v 1.4.2.14 2010/09/10 12:38:26 misho Exp $ * *************************************************************************/ #ifndef __AITIO_H @@ -189,6 +189,15 @@ int ioURLGetValue(struct tagIOURL *url, const char *cs * return: -1 error:: can`t read; 0 ok */ int ioURLGetFile(struct tagIOURL *url, char * __restrict psValue, int valLen); + + +/* + * ioMkDir() Function for racursive directory creation and validation + * @csDir = Full directory path + * @mode = Mode for directory creation if missing dir + * return: -1 error, 0 directory path exist, >0 created missing dirs +*/ +int ioMkDir(const char *csDir, int mode); /*