]> git.evergreen-ils.org Git - OpenSRF.git/blob - include/opensrf/osrf_json_xml.h
Patch from Scott McKellar:
[OpenSRF.git] / include / opensrf / osrf_json_xml.h
1 #ifdef OSRF_JSON_ENABLE_XML_UTILS
2
3 #include <stdio.h>
4 #include <string.h>
5 #include <libxml/globals.h>
6 #include <libxml/xmlerror.h>
7 #include <libxml/parser.h>
8 #include <libxml/tree.h>
9 #include <libxml/xmlmemory.h>
10
11 #include <opensrf/osrf_json.h>
12 #include <opensrf/utils.h>
13 #include <opensrf/osrf_list.h>
14
15
16 /**
17  *      Generates an XML representation of a JSON object */
18 char* jsonObjectToXML( const jsonObject*);
19
20
21 /*
22  * Builds a JSON object from the provided XML 
23  */
24 jsonObject* jsonXMLToJSONObject(const char* xml);
25
26 #endif