From fe54fc1a96eabe6e903ddcf17ca4188bde1bdd61 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Tue, 13 May 2014 22:53:50 +0100 Subject: [PATCH] libxl.h: document libxl__to_json Signed-off-by: Wei Liu Acked-by: Ian Campbell --- tools/libxl/libxl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index 896ecabdf3..80947c3af5 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -291,6 +291,11 @@ * Frees any dynamically allocated memory used by the members of * "p" but not the storage used by "p" itself (this allows for the * allocation of arrays of types and for the composition of types). + * + * char *libxl__to_json(instance *p) + * + * Generates a JSON object from "p" in the form of a NULL terminated + * string. */ #ifndef LIBXL_H #define LIBXL_H -- 2.30.2