summaryrefslogtreecommitdiff
path: root/src/xen_linpicker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xen_linpicker.h')
-rw-r--r--src/xen_linpicker.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xen_linpicker.h b/src/xen_linpicker.h
index a5e1d18..ce56883 100644
--- a/src/xen_linpicker.h
+++ b/src/xen_linpicker.h
@@ -5,6 +5,7 @@
#include <xs.h>
#include <xen/io/xenbus.h>
+#include "config.h"
#include "common.h"
#include "xen_backend.h"
#include "fd.h"
@@ -12,6 +13,13 @@
#include "display.h"
#include "input.h"
+/* logging */
+#define XEN_BE_LOG(xendev, lvl, msg...) \
+ do { \
+ if (lvl <= LOGLEVEL) \
+ xen_be_printf(xendev, msg); \
+ } while (0)
+
/* domain creation watch */
int xen_linpicker_init(struct xs_handle *, xc_interface*);
int xen_linpicker_update(struct xs_handle *, xc_interface*, const char *);