diff options
Diffstat (limited to 'debian/opensync/opensync-0.22/formats/vformats-xml/xml-support.h')
-rw-r--r-- | debian/opensync/opensync-0.22/formats/vformats-xml/xml-support.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/opensync/opensync-0.22/formats/vformats-xml/xml-support.h b/debian/opensync/opensync-0.22/formats/vformats-xml/xml-support.h new file mode 100644 index 00000000..bf457cb1 --- /dev/null +++ b/debian/opensync/opensync-0.22/formats/vformats-xml/xml-support.h @@ -0,0 +1,29 @@ +#ifndef _XML_SUPPORT_H +#define _XML_SUPPORT_H + +#include <libxml/xmlmemory.h> +#include <libxml/parser.h> +#include <libxml/xpath.h> + +#include <opensync/opensync.h> +#include <opensync/opensync_xml.h> +#include <string.h> +#include <stdio.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +typedef struct OSyncXMLScore { + int value; + const char *path; +} OSyncXMLScore; + +OSyncConvCmpResult osxml_compare(xmlDoc *leftinpdoc, xmlDoc *rightinpdoc, OSyncXMLScore *scores, int default_score, int treshold); + +#ifdef __cplusplus +} +#endif + +#endif // _XML_SUPPORT_H |