--- libaitsess/inc/aitsess.h 2008/10/13 18:22:01 1.1.1.1.2.3 +++ libaitsess/inc/aitsess.h 2010/09/01 21:07:10 1.1.1.1.2.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitsess.h,v 1.1.1.1.2.3 2008/10/13 18:22:01 misho Exp $ +* $Id: aitsess.h,v 1.1.1.1.2.5 2010/09/01 21:07:10 misho Exp $ * *************************************************************************/ #ifndef __AITSESS_H @@ -272,6 +272,19 @@ inline int ipc_decSemaphore(tagSess * __restrict s); // --------------------------------------------------------- +/* + * sess_FreeValues() Free all values from value array allocated from sess_GetValues() + * @ppsVals = Array strings + * return: none +*/ +inline void sess_FreeValues(char *** __restrict ppsVals); +/* + * sess_GetValues() Get all values from session shared memory + * @s = Session item + * @ppsVals = Return array strings + * return: -1 error: in parameter, !=-1 count of returned strings in ppsVals (must be free after use!) +*/ +int sess_GetValues(tagSess * __restrict s, char ***ppsVals); /* * sess_GetValue() Get value from session shared memory from attribute * @s = Session item