summaryrefslogtreecommitdiffstats
path: root/discover/message.h
blob: d0b0e34ed329c6ec2dd78736304b1af625450b20 (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
31

#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;
	} *options;
	int n_options;
};


#endif /* _MESSAGE_H */
OpenPOWER on IntegriCloud