search for: yajl_gen_config

Displaying 4 results from an estimated 4 matches for "yajl_gen_config".

2014 Feb 13
0
trouble with building latest xen code
...thakm/workspace/ibc/source/xen/tools/libxl/../../tools/blktap2/control /home/aasthakm/workspace/ibc/source/xen/tools/libxl/../../tools/libxc/libxenctrl.so -lyajl xl_cmdimpl.o: In function `libxl_yajl_gen_alloc': /home/workspace/ibc/source/xen/tools/libxl/libxl_json.h:60: undefined reference to `yajl_gen_config' /home/workspace/ibc/source/xen/tools/libxl/libxl_json.h:60: undefined reference to `yajl_gen_config' /home/workspace/ibc/source/xen/tools/libxl/../../tools/libxl/libxenlight.so: undefined reference to `yajl_complete_parse' collect2: ld returned 1 exit status make[3]: *** [xl] Error 1 m...
2012 Jan 15
2
[PATCH v3] libxl: add support for yajl 2.x
...tus = yajl_complete_parse(yajl_ctx.hand); if (status != yajl_status_ok) goto out; @@ -834,14 +830,13 @@ static const char *yajl_gen_status_to_st char *libxl__object_to_json(libxl_ctx *ctx, const char *type, libxl__gen_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)...
2011 Dec 20
26
[PATCH v2] libxl: add support for yajl 2.x
...ete(yajl_ctx.hand); if (status != yajl_status_ok) goto out; @@ -834,14 +857,25 @@ static const char *yajl_gen_status_to_st char *libxl__object_to_json(libxl_ctx *ctx, const char *type, libxl__gen_json_callback gen, void *p) { +#ifndef HAVE_YAJL_V2 yajl_gen_config conf = { 1, " " }; +#endif const unsigned char *buf; char *ret = NULL; +#ifdef HAVE_YAJL_V2 + size_t len = 0; +#else unsigned int len = 0; +#endif yajl_gen_status s; yajl_gen hand; +#ifdef HAVE_YAJL_V2 + hand = yajl_gen_alloc(NULL); +#else hand = y...
2013 May 14
5
tools/libxl: fix compilation and link errors on NetBSD
commit cad172d7b88bd443c81d865051297875ce2551bc Author: Christoph Egger <chegger@amazon.de> Date: Thu Feb 7 14:42:29 2013 +0000 tools/libxl: fix compilation and link errors on NetBSD - Fix testidl link error that libyajl is not found - Make linking of xl and testidl consistent - fix error: array subscript has type ''char'' Signed-off-by: