search for: old_parser_check_data

Displaying 1 result from an estimated 1 matches for "old_parser_check_data".

2016 Jan 09
0
[PATCH] build: Require qemu >= 1.3.0 and yajl.
...info (guestfs_h *g, const char *filename, cmd_stdout_callback cb, void *data); - -/* NB: For security reasons, the check_* callbacks MUST bail - * after seeing the first line that matches /^backing file: /. See: - * https://lists.gnu.org/archive/html/qemu-devel/2012-09/msg00137.html - */ - -struct old_parser_check_data { - int stop, failed; - union { - char *ret; - int reti; - int64_t reti64; - }; -}; - -static void old_parser_check_disk_format (guestfs_h *g, void *data, const char *line, size_t len); -static void old_parser_check_disk_virtual_size (guestfs_h *g, void *data, const char *line, size_t l...