Re: [XEN PATCH 05/11] libxl: Convert libxl__json_parse() to use json-c

2025-08-27 Thread Jason Andryuk
On 2025-08-08 10:55, Anthony PERARD wrote: From: Anthony PERARD This reuse the "json_callback_*" implemented for the yajl parser as they don't really need to be changed. It's just awkward to have to cast between `unsigned char` and `char.` Replace few strncpy() by memcpy() to let the compiler

[XEN PATCH 05/11] libxl: Convert libxl__json_parse() to use json-c

2025-08-08 Thread Anthony PERARD
From: Anthony PERARD This reuse the "json_callback_*" implemented for the yajl parser as they don't really need to be changed. It's just awkward to have to cast between `unsigned char` and `char.` Replace few strncpy() by memcpy() to let the compiler know we want to copy the string without the t