globals

globals - interface for all global variables of the library

Deprecated, don't use

Author(s):

Synopsis

typedef struct _xmlGlobalState xmlGlobalState;
typedef xmlGlobalState * xmlGlobalStatePtr;
void	xmlCleanupGlobals		(void);
xmlGlobalStatePtr	xmlGetGlobalState	(void);
void	xmlInitGlobals			(void);
void	xmlInitializeGlobalState	(xmlGlobalStatePtr gs);

Description

Details

Structure xmlGlobalState

struct _xmlGlobalState {
The content of this structure is not made public by the API.
} xmlGlobalState;


Typedef xmlGlobalStatePtr

xmlGlobalState * xmlGlobalStatePtr;


xmlCleanupGlobals ()

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.


xmlGetGlobalState ()

xmlGlobalStatePtr	xmlGetGlobalState	(void)

DEPRECATED

Returns: NULL.

xmlInitGlobals ()

void	xmlInitGlobals			(void)

DEPRECATED: Alias for xmlInitParser.


xmlInitializeGlobalState ()

void	xmlInitializeGlobalState	(xmlGlobalStatePtr gs)

DEPRECATED: No-op.

gs: a pointer to a newly allocated global state