28 #ifndef __FREEWRL_CPARSE_H__
29 #define __FREEWRL_CPARSE_H__
51 #define IS_ID_REST(c) \
52 (c>0x20 && c!=0x22 && c!=0x23 && c!=0x27 && c!=0x2C && c!=0x2E && c!=0x5B && \
53 c!=0x5C && c!=0x5D && c!=0x7B && c!=0x7D && c!=0x7F )
54 #define IS_ID_FIRST(c) \
55 (IS_ID_REST(c) && (c<0x30 || c>0x39) && c!=0x2B && c!=0x2D )
57 BOOL cParse(
void *ectx,
void* ptr,
unsigned offset,
const char* cdata);
60 #define destroyCParserData(me) \
61 parser_destroyData(me)
64 struct X3D_Node* parser_getNodeFromName(
const char*);
65 char* parser_getNameFromNode(
struct X3D_Node*);
66 char* parser_getPROTONameFromNode(
struct X3D_Node*);