--- libaitio/inc/aitio.h 2010/03/22 15:21:20 1.3 +++ libaitio/inc/aitio.h 2010/03/22 18:25:07 1.3.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.3 2010/03/22 15:21:20 misho Exp $ +* $Id: aitio.h,v 1.3.2.1 2010/03/22 18:25:07 misho Exp $ * *************************************************************************/ #ifndef __AITIO_H @@ -136,6 +136,31 @@ inline int io_SizeArray(const char *csArgs, const char */ inline int io_MakeArray(char * __restrict psArgs, const char *csDelim, char *** __restrict args, int nargs); + +/* + * io_UnquotStr() Remove quots from input text string + * @psLine = Text string + * return: 0 nothing to do; 1 successful unquoted string +*/ +inline int io_UnquotStr(u_char *psLine); +/* + * io_LTrimStr() Remove left whitespaces from text string + * @psLine = Text string + * return: 0 nothing to do; !=0 Removed bytes +*/ +inline int io_LTrimStr(u_char *psLine); +/* + * io_RTrimStr() Remove right whitespaces from text string + * @psLine = Text string + * return: 0 nothing to do; !=0 Removed bytes +*/ +inline int io_RTrimStr(u_char *psLine); +/* + * io_TrimStr() Remove left and right whitespaces from text string + * @psLine = Text string + * return: 0 nothing to do; !=0 Removed bytes +*/ +inline int io_TrimStr(u_char *psLine); /* * ioURLGet() Parse and get data from input URL