28 #ifndef OGR_XERCES_INCLUDED
29 #define OGR_XERCES_INCLUDED
32 #include "ogr_xerces_headers.h"
44 bool CPL_DLL OGRInitializeXerces(
void);
45 void CPL_DLL OGRDeinitializeXerces(
void);
47 InputSource CPL_DLL* OGRCreateXercesInputSource(
VSILFILE* fp);
48 void CPL_DLL OGRDestroyXercesInputSource(InputSource* is);
50 void CPL_DLL OGRStartXercesLimitsForThisThread(
size_t nMaxMemAlloc,
51 const char* pszMsgMaxMemAlloc,
52 double dfTimeoutSecond,
53 const char* pszMsgTimeout);
54 void CPL_DLL OGRStopXercesLimitsForThisThread();
58 CPLString CPL_DLL transcode(
const XMLCh *panXMLString,
int nLimitingChars = -1 );
60 int nLimitingChars = -1 );
67 void OGRCleanupXercesMutex(
void);