Displaying 1 result from an estimated 1 matches for "libxl__yajl_gen_alloc".
2012 Jan 15
2
[PATCH v3] libxl: add support for yajl 2.x
...json_callback gen, void *p)
{
- yajl_gen_config conf = { 1, " " };
const unsigned char *buf;
char *ret = NULL;
- unsigned int len = 0;
+ libxl_yajl_length len = 0;
yajl_gen_status s;
yajl_gen hand;
- hand = yajl_gen_alloc(&conf, NULL);
+ hand = libxl__yajl_gen_alloc(NULL);
if (!hand)
return NULL;
diff -r cd47dde439e6 -r a1986ef30b7d tools/libxl/libxl_json.h
--- a/tools/libxl/libxl_json.h Sat Jan 14 19:04:48 2012 +0100
+++ b/tools/libxl/libxl_json.h Sun Jan 15 06:56:00 2012 +0100
@@ -16,8 +16,55 @@
#define LIBXL_JSON_H
#include <yajl/yajl...