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.

Defines

#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)


Define 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.

01317 {
01318   state->handler = prolog0;
01319 #ifdef XML_DTD
01320   state->documentEntity = 1;
01321   state->includeLevel = 0;
01322   state->inEntityValue = 0;
01323 #endif /* XML_DTD */
01324 }


Generated on Mon May 27 17:51:18 2013 for Geant4 by  doxygen 1.4.7