Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Typedefs | Functions
xmlrole.cc File Reference
#include <stddef.h>
#include "expat_external.h"
#include "internal.h"
#include "xmlrole.h"
#include "ascii.h"

Go to the source code of this file.

Macros

#define MIN_BYTES_PER_CHAR(enc)   ((enc)->minBytesPerChar)
 
#define setTopLevel(state)   ((state)->handler = internalSubset)
 

Typedefs

typedef int PTRCALL PROLOG_HANDLER (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc)
 

Functions

void XmlPrologStateInit (PROLOG_STATE *state)
 

Macro Definition Documentation

#define MIN_BYTES_PER_CHAR (   enc)    ((enc)->minBytesPerChar)

Definition at line 89 of file xmlrole.cc.

#define setTopLevel (   state)    ((state)->handler = internalSubset)

Definition at line 98 of file xmlrole.cc.

Typedef Documentation

typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc)

Definition at line 101 of file xmlrole.cc.

Function Documentation

void XmlPrologStateInit ( PROLOG_STATE state)

Definition at line 1316 of file xmlrole.cc.

1317 {
1318  state->handler = prolog0;
1319 #ifdef XML_DTD
1320  state->documentEntity = 1;
1321  state->includeLevel = 0;
1322  state->inEntityValue = 0;
1323 #endif /* XML_DTD */
1324 }