Fix random bytes in string in kboot parser
[petitboot] / devices / message.h
1
2 #ifndef _MESSAGE_H
3 #define _MESSAGE_H
4
5 enum device_action {
6         DEV_ACTION_ADD_DEVICE = 0,
7         DEV_ACTION_ADD_OPTION = 1,
8         DEV_ACTION_REMOVE_DEVICE = 2,
9         DEV_ACTION_REMOVE_OPTION = 3
10 };
11
12 struct device {
13         char *id;
14         char *name;
15         char *description;
16         char *icon_file;
17 };
18
19 struct boot_option {
20         char *id;
21         char *name;
22         char *description;
23         char *icon_file;
24         char *boot_image_file;
25         char *initrd_file;
26         char *boot_args;
27 };
28
29
30 #endif /* _MESSAGE_H */