aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-05-29 16:44:06 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-05-29 16:44:06 +0100
commit98c0339ead4c24ebe993e0693d354cdcbb166ec6 (patch)
tree534aedfc256bef95efd4c9381ff7910b0e04bb9f /tools/libxl/xl.h
parentbb86668db55fa24f275c8f56ddd4dcb44cd413fe (diff)
downloadxen-98c0339ead4c24ebe993e0693d354cdcbb166ec6.tar.gz
xen-98c0339ead4c24ebe993e0693d354cdcbb166ec6.tar.bz2
xen-98c0339ead4c24ebe993e0693d354cdcbb166ec6.zip
libxl: remove lockdir and config dir from the API
These are only used by xl. Rename _libxl_paths.h -> _paths.h, these are not actually "libxl" paths but rather are part of the Xen build time configuration. It is fine for xl to also consume them. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/xl.h')
-rw-r--r--tools/libxl/xl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/libxl/xl.h b/tools/libxl/xl.h
index 7169ed0c59..59556b5244 100644
--- a/tools/libxl/xl.h
+++ b/tools/libxl/xl.h
@@ -17,6 +17,7 @@
#include <assert.h>
+#include "_paths.h"
#include "xentoollog.h"
struct cmd_spec {
@@ -153,6 +154,9 @@ extern enum output_format default_output_format;
extern void printf_info_sexp(int domid, libxl_domain_config *d_config);
+#define XL_GLOBAL_CONFIG XEN_CONFIG_DIR "/xl.conf"
+#define XL_LOCK_FILE XEN_LOCK_DIR "/xl"
+
#endif /* XL_H */
/*