projects
/
petitboot
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
parser: remove unused fields from struct parser
[petitboot]
/
discover
/
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
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
} *options;
27
int n_options;
28
};
29
30
31
#endif /* _MESSAGE_H */