summaryrefslogtreecommitdiffstats
path: root/devices/message.h
blob: 7a5d4f288e3c86b22d5f32589dd344ab11e6e8a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

#ifndef _MESSAGE_H
#define _MESSAGE_H

enum device_action {
	DEV_ACTION_ADD_DEVICE = 0,
	DEV_ACTION_ADD_OPTION = 1,
	DEV_ACTION_REMOVE_DEVICE = 2,
	DEV_ACTION_REMOVE_OPTION = 3
};

struct device {
	char *id;
	char *name;
	char *description;
	char *icon_file;
};

struct boot_option {
	char *id;
	char *name;
	char *description;
	char *icon_file;
	char *boot_image_file;
	char *initrd_file;
	char *boot_args;
};


#endif /* _MESSAGE_H */
OpenPOWER on IntegriCloud