--- libaitio/inc/aitio.h 2010/03/02 15:10:19 1.1.1.1.2.1 +++ libaitio/inc/aitio.h 2010/03/02 16:45:23 1.1.1.1.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.1.1.1.2.1 2010/03/02 15:10:19 misho Exp $ +* $Id: aitio.h,v 1.1.1.1.2.2 2010/03/02 16:45:23 misho Exp $ * *************************************************************************/ #ifndef __AITIO_H @@ -81,6 +81,16 @@ int ioRegexGet(const char *csRegex, const char *csData * return: NULL not match or error; !=NULL allocated new string, must be free after use! */ char *ioRegexReplace(const char *csRegex, const char *csData, const char *csNew); + +/* + * io_MakeArray() Parse and make array of arguments values + * @psArgs = Input arguments line ... (will be destroed after procced function!) + * @csDelim = Delimiter(s) for separate + * @args = Output array of arguments + * @nargs = Requested count of arguments + * return: 0 error format; -1 error:: can`t read; >0 ok, number of readed items +*/ +int io_MakeArray(char * __restrict psArgs, const char *csDelim, char *** __restrict args, int nargs); /* * ioURLGet() Parse and get data from input URL