Skip to contentSkip to conversation

libxl: remove _libxl_json_internal.h from libxl_json.h

PATCH In review Ian Campbell 2 participants 2 messages Jan 17, 2012 – Jan 24, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxl: remove _libxl_json_internal.h from libxl_json.h

# HG changeset patch
# User Ian Campbell <[email protected]> # 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.

tools/libxl/libxl_internal.h +3 -1
diff -r 120035806c1b -r 8032df4baf72 tools/libxl/libxl_internal.h
@@ -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
tools/libxl/libxl_json.h +0 -1
diff -r 120035806c1b -r 8032df4baf72 tools/libxl/libxl_json.h
@@ -18,6 +18,5 @@
 #include <yajl/yajl_gen.h>
 
 #include <_libxl_types_json.h>
-#include <_libxl_types_internal_json.h>
 
 #endif /* LIBXL_JSON_H */