Skip to contentSkip to conversation

libxl: remove _libxl_json_internal.h from libxl_json.h

PATCH New Ian Campbell 1 participant 1 message Jan 23, 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 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.

tools/libxl/libxl_internal.h +3 -1
diff -r d8efdb16b1ef -r 37f76bfff488 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 d8efdb16b1ef -r 37f76bfff488 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 */