summaryrefslogtreecommitdiffstats
path: root/lib/types/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/types/types.h')
-rw-r--r--lib/types/types.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/types/types.h b/lib/types/types.h
new file mode 100644
index 0000000..acd9e3e
--- /dev/null
+++ b/lib/types/types.h
@@ -0,0 +1,32 @@
+#ifndef _TYPES_H
+#define _TYPES_H
+
+#include <list/list.h>
+
+struct device {
+ char *id;
+ char *name;
+ char *description;
+ char *icon_file;
+
+ int n_options;
+ struct list boot_options;
+
+ void *ui_info;
+};
+
+struct boot_option {
+ char *id;
+ char *name;
+ char *description;
+ char *icon_file;
+ char *boot_image_file;
+ char *initrd_file;
+ char *boot_args;
+
+ struct list_item list;
+
+ void *ui_info;
+};
+
+#endif /* _TYPES_H */
OpenPOWER on IntegriCloud