--- libaitio/inc/aitio.h 2011/05/19 02:22:46 1.9.2.3 +++ libaitio/inc/aitio.h 2011/06/07 11:49:39 1.10 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.9.2.3 2011/05/19 02:22:46 misho Exp $ +* $Id: aitio.h,v 1.10 2011/06/07 11:49:39 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -231,6 +231,19 @@ inline void io_arrayDestroy(array_t ** __restrict parr * return: none */ inline void io_arrayFree(array_t * __restrict arr); +/* + * io_arrayFrom() - Create and fill array from array with pointers + * @argv = Array with pointers + * @argc = Number of Items, if 0 walk through argv and stop when reach NULL item + * return: NULL error, != NULL allocated memory for array + */ +inline array_t *io_arrayFrom(const char **argv, int argc); +/* + * io_arrayTo() - Create and fill array with pointers from dynamic array + * @arr = Array + * return: NULL error, != NULL allocated memory for array + */ +inline char **io_arrayTo(array_t * __restrict arr); /* * io_arrayLen() - Get last used element in dynamic array (array Length) * @arr = Array