summaryrefslogtreecommitdiffstats
path: root/debian/opensync/opensync-0.22/formats/vformats-xml/xml-support.h
blob: bf457cb14f46b48e6f425f094a06439751cbb523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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