Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
xmlrole.c File Reference
#include <expat_config.h>
#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

◆ MIN_BYTES_PER_CHAR

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

Definition at line 111 of file xmlrole.c.

◆ setTopLevel

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

Definition at line 119 of file xmlrole.c.

Typedef Documentation

◆ PROLOG_HANDLER

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

Definition at line 122 of file xmlrole.c.

Function Documentation

◆ XmlPrologStateInit()

void XmlPrologStateInit ( PROLOG_STATE state)

Definition at line 1237 of file xmlrole.c.

1237 {
1238 state->handler = prolog0;
1239#ifdef XML_DTD
1240 state->documentEntity = 1;
1241 state->includeLevel = 0;
1242 state->inEntityValue = 0;
1243#endif /* XML_DTD */
1244}