summaryrefslogtreecommitdiffstats
path: root/devices/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'devices/message.h')
-rw-r--r--devices/message.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/devices/message.h b/devices/message.h
new file mode 100644
index 0000000..2e8bbba
--- /dev/null
+++ b/devices/message.h
@@ -0,0 +1,26 @@
+
+enum device_action {
+ DEV_ACTION_ADD_DEVICE = 0,
+ DEV_ACTION_ADD_OPTION = 1,
+ DEV_ACTION_REMOVE_DEVICE = 2,
+ DEV_ACTION_REMOVE_OPTION = 3
+};
+
+struct device {
+ char *id;
+ char *name;
+ char *description;
+ char *icon_file;
+};
+
+struct boot_option {
+ char *id;
+ char *name;
+ char *description;
+ char *icon_file;
+ char *boot_image_file;
+ char *initrd_file;
+ char *boot_args;
+};
+
+
OpenPOWER on IntegriCloud