Haplo Prediction
predict haplogroups
Defines
xml.h File Reference

Wrapper functions and macros for the libxml2 interface. More...

Go to the source code of this file.

Defines

#define XMLNewChild(parent, name, content)   xmlNewChild(parent, NULL, (xmlChar*)name, (xmlChar*)content)
 Hack around libxml2 interface.
#define XMLNewProp(node, name, value)   xmlNewProp(node, (xmlChar*)name, (xmlChar*)value)
 Hack around libxml2 interface.
#define XMLCreateIntSubset(doc, name, extid, sysid)
 Hack around libxml2 interface.
#define XMLNewNode(name)   xmlNewNode(NULL, (xmlChar*)name)
 Hack around libxml2 interface.
#define XMLStrEqual(str1, str2)   xmlStrEqual((const xmlChar*)str1, (const xmlChar*)str2)
 Hack around libxml2 interface.

Detailed Description

Wrapper functions and macros for the libxml2 interface.

Author:
Joseph Schlecht
License:
Creative Commons BY-NC-SA 3.0

Definition in file xml.h.


Define Documentation

#define XMLNewChild (   parent,
  name,
  content 
)    xmlNewChild(parent, NULL, (xmlChar*)name, (xmlChar*)content)

Hack around libxml2 interface.

Definition at line 51 of file xml.h.

#define XMLNewProp (   node,
  name,
  value 
)    xmlNewProp(node, (xmlChar*)name, (xmlChar*)value)

Hack around libxml2 interface.

Definition at line 56 of file xml.h.

#define XMLCreateIntSubset (   doc,
  name,
  extid,
  sysid 
)
Value:
xmlCreateIntSubset(doc, (xmlChar*)name, (xmlChar*)extid, \
                  (xmlChar*)sysid)

Hack around libxml2 interface.

Definition at line 61 of file xml.h.

#define XMLNewNode (   name)    xmlNewNode(NULL, (xmlChar*)name)

Hack around libxml2 interface.

Definition at line 67 of file xml.h.

#define XMLStrEqual (   str1,
  str2 
)    xmlStrEqual((const xmlChar*)str1, (const xmlChar*)str2)

Hack around libxml2 interface.

Definition at line 71 of file xml.h.