Annotation of parser3/src/include/pa_globals.h, revision 1.107
1.13 paf 1: /** @file
1.15 paf 2: Parser: global decls.
3:
1.104 paf 4: Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)
1.78 paf 5: Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
1.1 paf 6: */
7:
8: #ifndef PA_GLOBALS_H
9: #define PA_GLOBALS_H
1.90 paf 10:
1.107 ! paf 11: static const char * const IDENT_GLOBALS_H="$Date: 2003/11/06 09:11:35 $";
1.1 paf 12:
1.27 paf 13:
1.104 paf 14: #include "pa_hash.h"
15: #include "pa_string.h"
1.105 paf 16:
17: #ifdef XML
18: # include "libxml/tree.h"
1.106 paf 19: # include "gdome.h"
1.105 paf 20: #endif
1.104 paf 21:
1.57 parser 22: class Dictionary;
1.71 paf 23: class Charset;
1.84 paf 24: class Table;
1.1 paf 25:
1.14 paf 26: /// core func
1.104 paf 27: void pa_globals_init();
1.5 paf 28:
1.14 paf 29: /// hex_value[c] = hex value of c
1.5 paf 30: extern short hex_value[0x100];
1.1 paf 31:
1.75 paf 32: #ifdef XML
1.76 paf 33: /// DOMImplementation
34: extern GdomeDOMImplementation *domimpl;
35:
1.75 paf 36: /// flag whether there were some xml generic errors on current thread
37: bool xmlHaveGenericErrors();
1.74 paf 38: /// get xml generic error accumulated for current thread. WARNING: it is up to caller to free up
1.104 paf 39: const char* xmlGenericErrors();
1.75 paf 40: #endif
1.1 paf 41:
42: #endif
E-mail: