--- libaitio/src/Attic/sarray.c 2011/06/07 11:49:39 1.3 +++ libaitio/src/Attic/sarray.c 2011/08/25 14:31:32 1.3.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: sarray.c,v 1.3 2011/06/07 11:49:39 misho Exp $ +* $Id: sarray.c,v 1.3.2.1 2011/08/25 14:31:32 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -253,4 +253,28 @@ io_sarrSet(sarr_t * __restrict arr, u_int idx, void *d seg[pos] = data; return ret; +} + +/* + * io_sarr2array() - Convert from split-order array to dynamic array + * @sa = split array + * @sarrFree = after convert split array !=0 will be destroyed sarray + * return: NULL error or != NULL new array + */ +array_t * +io_sarr2array(sarr_t ** __restrict sa, int sarrFree) +{ + return NULL; +} + +/* + * io_array2sarr() - Convert from dynamic array to split-order array + * @a = array + * @arrFree = after convert array !=0 will be destroyed + * return: NULL error or != NULL new sarr + */ +sarr_t * +io_array2sarr(array_t ** __restrict a, int arrFree) +{ + return NULL; }