--- libaitio/inc/aitio.h 2010/09/27 16:08:37 1.5.2.1 +++ libaitio/inc/aitio.h 2011/02/10 19:34:52 1.5.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.5.2.1 2010/09/27 16:08:37 misho Exp $ +* $Id: aitio.h,v 1.5.2.3 2011/02/10 19:34:52 misho Exp $ * *************************************************************************/ #ifndef __AITIO_H @@ -33,12 +33,13 @@ struct tagReqXML { unsigned char xml_line[BUFSIZ]; url_Item_t xml_namespace; - url_Item_t xml_container; + union { + url_Item_t container; + url_Item_t path; + } xml_node; url_Item_t xml_data; url_Item_t xml_attribute; url_Item_t xml_value; - - char *xml_reserved; }; @@ -94,6 +95,14 @@ int ioRegexGet(const char *csRegex, const char *csData * return: NULL not match or error; !=NULL allocated new string, must be free after use! */ char *ioRegexReplace(const char *csRegex, const char *csData, const char *csNew); + +/* + * ioVarAst() Function for evaluate string like asterisk variable "{text[:[-]#[:#]]}" + * @csString = Input string + * @strLen = String length + * return: NULL error, !=NULL Allocated new string evaluated from input string, must be free() +*/ +char *ioVarAst(const char *csString, int strLen); /* * io_Path2File() Parse and make path/filename pair