blob: 972e871e17eb1e5c022cf6997f84044aaac1922c [file] [log] [blame]
Daniel Veillardd2897fd2002-01-30 16:37:32 +00001#include <libxml/tree.h>
2#include <libxml/parser.h>
3#include <libxml/parserInternals.h>
4#include <libxml/catalog.h>
5#include <libxml/threads.h>
6#include <libxml/nanoftp.h>
7#include <libxml/nanohttp.h>
8#include <libxml/uri.h>
9#include <libxml/xpath.h>
10#include <libxml/xpathInternals.h>
11#include <libxml/debugXML.h>
Daniel Veillard96fe0952002-01-30 20:52:23 +000012#include <libxml/HTMLparser.h>
13#include <libxml/HTMLtree.h>
14#include <libxml/xinclude.h>
Daniel Veillard1971ee22002-01-31 20:29:19 +000015#include <libxml/xpointer.h>
Daniel Veillard96fe0952002-01-30 20:52:23 +000016
17#define PyxmlNode_Get(v) (((PyxmlNode_Object *)(v))->obj)
18
19typedef struct {
20 PyObject_HEAD
21 xmlNodePtr obj;
22} PyxmlNode_Object;
Daniel Veillardd2897fd2002-01-30 16:37:32 +000023
Daniel Veillard1971ee22002-01-31 20:29:19 +000024#define PyxmlXPathContext_Get(v) (((PyxmlXPathContext_Object *)(v))->obj)
25typedef struct {
26 PyObject_HEAD
27 xmlXPathContextPtr obj;
28} PyxmlXPathContext_Object;
29
Daniel Veillardd2897fd2002-01-30 16:37:32 +000030PyObject * libxml_intWrap(int val);
Daniel Veillard1971ee22002-01-31 20:29:19 +000031PyObject * libxml_xmlCharPtrWrap(xmlChar *str);
32PyObject * libxml_constxmlCharPtrWrap(const xmlChar *str);
33PyObject * libxml_charPtrWrap(char *str);
34PyObject * libxml_constcharPtrWrap(const char *str);
Daniel Veillardd2897fd2002-01-30 16:37:32 +000035PyObject * libxml_xmlDocPtrWrap(xmlDocPtr doc);
36PyObject * libxml_xmlNodePtrWrap(xmlNodePtr node);
37PyObject * libxml_xmlAttrPtrWrap(xmlAttrPtr attr);
Daniel Veillard1971ee22002-01-31 20:29:19 +000038PyObject * libxml_xmlNsPtrWrap(xmlNsPtr ns);
39PyObject * libxml_xmlAttributePtrWrap(xmlAttributePtr ns);
40PyObject * libxml_xmlElementPtrWrap(xmlElementPtr ns);
Daniel Veillard96fe0952002-01-30 20:52:23 +000041PyObject * libxml_doubleWrap(double val);
Daniel Veillard1971ee22002-01-31 20:29:19 +000042PyObject * libxml_xmlXPathContextPtrWrap(xmlXPathContextPtr ctxt);
43PyObject * libxml_xmlXPathObjectPtrWrap(xmlXPathObjectPtr obj);
Daniel Veillard96fe0952002-01-30 20:52:23 +000044