]> git.ozlabs.org Git - petitboot/blob - devices/message.h
Add kboot.conf parser
[petitboot] / devices / message.h
1
2 enum device_action {
3         DEV_ACTION_ADD_DEVICE = 0,
4         DEV_ACTION_ADD_OPTION = 1,
5         DEV_ACTION_REMOVE_DEVICE = 2,
6         DEV_ACTION_REMOVE_OPTION = 3
7 };
8
9 struct device {
10         char *id;
11         char *name;
12         char *description;
13         char *icon_file;
14 };
15
16 struct boot_option {
17         char *id;
18         char *name;
19         char *description;
20         char *icon_file;
21         char *boot_image_file;
22         char *initrd_file;
23         char *boot_args;
24 };
25
26