search for: yajl_complete_parse

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

2012 Jan 15
2
[PATCH v3] libxl: add support for yajl 2.x
...mp;yajl_ctx); + yajl_ctx.hand = libxl__yajl_alloc(&callbacks, NULL, &yajl_ctx); } status = yajl_parse(yajl_ctx.hand, (const unsigned char *)s, strlen(s)); if (status != yajl_status_ok) goto out; - status = yajl_parse_complete(yajl_ctx.hand); + status = 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 = {...
2014 Feb 13
0
trouble with building latest xen code
...pace/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 make[3]: Leaving directory `/home/workspace/ibc/source/xen/tools/libxl' make[2]: *** [subdir-install-libxl] Error 2 make[2]: Leaving directory `/home/workspace/ibc/source/xen/tools' make[1]: *** [subdirs-install] Error 2 mak...
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:
2011 Dec 20
26
[PATCH v2] libxl: add support for yajl 2.x
....checkUTF8 = 1, }; yajl_ctx.hand = yajl_alloc(&callbacks, &cfg, NULL, &yajl_ctx); +#endif } status = yajl_parse(yajl_ctx.hand, (const unsigned char *)s, strlen(s)); if (status != yajl_status_ok) goto out; + +#ifdef HAVE_YAJL_V2 + status = yajl_complete_parse(yajl_ctx.hand); +#else + status = yajl_parse_complete(yajl_ctx.hand); +#endif - status = yajl_parse_complete(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, co...