libxml2 Reference Manual |
---|
globals - interface for all global variables of the library
Deprecated, don't use
Author(s):
typedef struct _xmlGlobalState xmlGlobalState; typedef xmlGlobalState * xmlGlobalStatePtr; void xmlCleanupGlobals (void); xmlGlobalStatePtr xmlGetGlobalState (void); void xmlInitGlobals (void); void xmlInitializeGlobalState (xmlGlobalStatePtr gs);
struct _xmlGlobalState { The content of this structure is not made public by the API. } xmlGlobalState;
xmlGlobalState * xmlGlobalStatePtr;
void xmlCleanupGlobals (void)
DEPRECATED: This function is a no-op. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have call cleanup functions at all.
void xmlInitializeGlobalState (xmlGlobalStatePtr gs)
DEPRECATED: No-op.
gs: | a pointer to a newly allocated global state |