Ian Campbell
2012-Jan-17 11:08 UTC
[PATCH] libxl: remove _libxl_json_internal.h from libxl_json.h
# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1326798471 0 # Node ID 8032df4baf729fc215de7bf8d3015c4ddc107a00 # Parent 120035806c1bf1ab81bdc1664e84302c8c0066c6 libxl: remove _libxl_json_internal.h from libxl_json.h libxl_json.h is intended as a user-includable header for applications which would like to use libyajl directly with libxl types. It should not expose libxl internals. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> diff -r 120035806c1b -r 8032df4baf72 tools/libxl/libxl_internal.h --- a/tools/libxl/libxl_internal.h Tue Jan 17 11:04:46 2012 +0000 +++ b/tools/libxl/libxl_internal.h Tue Jan 17 11:07:51 2012 +0000 @@ -61,8 +61,10 @@ #include "flexarray.h" #include "libxl_utils.h" +#include "libxl_json.h" + #include "_libxl_types_internal.h" -#include "libxl_json.h" +#include "_libxl_types_internal_json.h" #define LIBXL_DESTROY_TIMEOUT 10 #define LIBXL_DEVICE_MODEL_START_TIMEOUT 10 diff -r 120035806c1b -r 8032df4baf72 tools/libxl/libxl_json.h --- a/tools/libxl/libxl_json.h Tue Jan 17 11:04:46 2012 +0000 +++ b/tools/libxl/libxl_json.h Tue Jan 17 11:07:51 2012 +0000 @@ -18,6 +18,5 @@ #include <yajl/yajl_gen.h> #include <_libxl_types_json.h> -#include <_libxl_types_internal_json.h> #endif /* LIBXL_JSON_H */
Ian Campbell
2012-Jan-23 16:34 UTC
[PATCH] libxl: remove _libxl_json_internal.h from libxl_json.h
# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1327330134 0 # Node ID 37f76bfff488a2cbf8545c1baad83586bd5c6114 # Parent d8efdb16b1ef06013061da1f47c2dbce4b042992 libxl: remove _libxl_json_internal.h from libxl_json.h libxl_json.h is intended as a user-includable header for applications which would like to use libyajl directly with libxl types. It should not expose libxl internals. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> diff -r d8efdb16b1ef -r 37f76bfff488 tools/libxl/libxl_internal.h --- a/tools/libxl/libxl_internal.h Mon Jan 23 14:39:25 2012 +0000 +++ b/tools/libxl/libxl_internal.h Mon Jan 23 14:48:54 2012 +0000 @@ -61,8 +61,10 @@ #include "flexarray.h" #include "libxl_utils.h" +#include "libxl_json.h" + #include "_libxl_types_internal.h" -#include "libxl_json.h" +#include "_libxl_types_internal_json.h" #define LIBXL_DESTROY_TIMEOUT 10 #define LIBXL_DEVICE_MODEL_START_TIMEOUT 10 diff -r d8efdb16b1ef -r 37f76bfff488 tools/libxl/libxl_json.h --- a/tools/libxl/libxl_json.h Mon Jan 23 14:39:25 2012 +0000 +++ b/tools/libxl/libxl_json.h Mon Jan 23 14:48:54 2012 +0000 @@ -18,6 +18,5 @@ #include <yajl/yajl_gen.h> #include <_libxl_types_json.h> -#include <_libxl_types_internal_json.h> #endif /* LIBXL_JSON_H */
Ian Jackson
2012-Jan-24 15:30 UTC
Re: [PATCH] libxl: remove _libxl_json_internal.h from libxl_json.h
Ian Campbell writes ("[PATCH] libxl: remove _libxl_json_internal.h from libxl_json.h"):> libxl: remove _libxl_json_internal.h from libxl_json.hAcked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>