--- libaitio/inc/aitio.h 2012/08/29 13:30:28 1.24.2.4 +++ libaitio/inc/aitio.h 2012/08/29 13:49:04 1.24.2.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.24.2.4 2012/08/29 13:30:28 misho Exp $ +* $Id: aitio.h,v 1.24.2.5 2012/08/29 13:49:04 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -547,12 +547,13 @@ inline void io_freeVar(ait_val_t ** __restrict val); */ ait_val_t *io_makeVar(ait_type_t type, ...); /* - * io_hashVar() - Generate hash key for variable + * io_hashVar() - Generate hash key for variable from string or value * * @v = variable + * @key = key string for hash, if =NULL hash will built from variable * return: hash key */ -unsigned short io_hashVar(ait_val_t * __restrict v); +unsigned short io_hashVar(ait_val_t * __restrict v, const char * __restrict key); /* * io_allocVars() - Allocate ait_val_t array *