27#include <libxml/parser.h>
28#include <libxml/tree.h>
Slot describing a registered XML document.
Slot describing a registered XML node.
static int xml_node_alloc(xmlNodePtr n)
Allocate a node handle for the given xmlNode pointer.
static int xml_doc_free_handle(int h)
Free a document handle and the underlying xmlDoc.
static XmlDocSlot g_xml_docs[64]
static xmlNodePtr xml_node_get(int h)
Retrieve a registered xmlNode by handle.
static int xml_doc_alloc(xmlDocPtr d)
Allocate a document handle for the given xmlDoc pointer.
static int xml_node_free_handle(int h)
Free a node handle without freeing the underlying node.
static xmlDocPtr xml_doc_get(int h)
Retrieve a registered xmlDoc by handle.
static XmlNodeSlot g_xml_nodes[256]