--- libaitio/inc/aitio.h 2011/05/17 19:49:55 1.9.2.1 +++ libaitio/inc/aitio.h 2011/05/17 20:25:20 1.9.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.9.2.1 2011/05/17 19:49:55 misho Exp $ +* $Id: aitio.h,v 1.9.2.2 2011/05/17 20:25:20 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -373,6 +373,19 @@ inline void *io_sarrSet(sarr_t * __restrict arr, unsig * return: NULL error; !=NULL Allocated new environment array(must be free) */ char **io_CopyEnv(const char **oldenv); +/* + * io_ExecArgs() Build exec arguments from other array + * @psProg = Program name for execute + * @oldarg = Arguments array + * return: NULL error; !=NULL Allocated execution array(must be free) +*/ +char **io_ExecArgs(const char *psProg, const char **oldarg); +/* + * io_FreeNullTerm() Free dynamic allocated null terminated array with strings + * @arr = Pointer to array for free + * return: none +*/ +inline void io_FreeNullTerm(char *** __restrict arr); /* * ioURLGet() Parse and get data from input URL