FreeWRL / FreeX3D 4.3.0
X3DParser.h
1/*
2
3
4X3D parser functions.
5
6*/
7
8/****************************************************************************
9 This file is part of the FreeWRL/FreeX3D Distribution.
10
11 Copyright 2009 CRC Canada. (http://www.crc.gc.ca)
12
13 FreeWRL/FreeX3D is free software: you can redistribute it and/or modify
14 it under the terms of the GNU Lesser Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 FreeWRL/FreeX3D is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with FreeWRL/FreeX3D. If not, see <http://www.gnu.org/licenses/>.
25****************************************************************************/
26
27
28#ifndef __FREEWRL_X3D_PARSER_H__
29#define __FREEWRL_X3D_PARSER_H__
30
31// used by EAIEventsIn.c, XMLParser.c
32char *X3DParser_getNameFromNode(struct X3D_Node* myNode);
33struct X3D_Node *X3DParser_getNodeFromName(const char *name);
34
35int X3DParse (struct X3D_Node* ectx, struct X3D_Node* myParent, const char *inputstring);
36void QAandRegister_parsedRoute_B(struct X3D_Proto *context, char* fnode, char* ffield, char* tnode, char* tfield);
37void kill_X3DDefs(void);
38int freewrl_XML_GetCurrentLineNumber(void);
39
40// the following are actually used elsewhere, but some of the params are specific;
41// grep for the user files...
42//void endCDATA (void *ud, const xmlChar *string, int len);
43//void X3DParser_clear(struct tX3DParser *t);
44//void X3DParser_init(struct tX3DParser *t);
45
46#endif /* __FREEWRL_X3D_PARSER_H__ */