--- libaitio/inc/aitio.h 2010/03/22 19:48:26 1.3.2.2 +++ libaitio/inc/aitio.h 2010/04/05 08:25:25 1.3.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.3.2.2 2010/03/22 19:48:26 misho Exp $ +* $Id: aitio.h,v 1.3.2.3 2010/04/05 08:25:25 misho Exp $ * *************************************************************************/ #ifndef __AITIO_H @@ -161,6 +161,13 @@ inline int io_RTrimStr(unsigned char *psLine); * return: 0 nothing to do; !=0 Removed bytes */ inline int io_TrimStr(unsigned char *psLine); +/* + * io_Char2Hex() Convert from Char string to Hex string + * @psLine = Text string + * @lineLen = Length of Text string + * return: NULL nothing to do or error; !=0 Allocated new converted string(must be free) +*/ +inline char *io_Char2Hex(unsigned char *psLine, int lineLen); /* * ioURLGet() Parse and get data from input URL