]> git.ozlabs.org Git - petitboot/blob - lib/types/types.h
lib/url: Move URL-handling code to lib
[petitboot] / lib / types / types.h
1 #ifndef _TYPES_H
2 #define _TYPES_H
3
4 #include <list/list.h>
5
6 struct device {
7         char            *id;
8         char            *name;
9         char            *description;
10         char            *icon_file;
11
12         int             n_options;
13         struct list     boot_options;
14
15         void            *ui_info;
16 };
17
18 struct boot_option {
19         char            *id;
20         char            *name;
21         char            *description;
22         char            *icon_file;
23         char            *boot_image_file;
24         char            *initrd_file;
25         char            *boot_args;
26
27         struct list_item        list;
28
29         void            *ui_info;
30 };
31
32 struct boot_command {
33         char *option_id;
34         char *boot_image_file;
35         char *initrd_file;
36         char *boot_args;
37 };
38
39 #endif /* _TYPES_H */