summaryrefslogtreecommitdiffstats
path: root/nhrpd/vici.h
blob: 24b900b43c1f5b90f070e66a5bf0e50cf1f4c2cc (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
enum vici_type_t {
	VICI_START =         0,
	VICI_SECTION_START = 1,
	VICI_SECTION_END =   2,
	VICI_KEY_VALUE =     3,
	VICI_LIST_START =    4,
	VICI_LIST_ITEM =     5,
	VICI_LIST_END =      6,
	VICI_END =           7
};

enum vici_operation_t {
	VICI_CMD_REQUEST = 0,
	VICI_CMD_RESPONSE,
	VICI_CMD_UNKNOWN,
	VICI_EVENT_REGISTER,
	VICI_EVENT_UNREGISTER,
	VICI_EVENT_CONFIRM,
	VICI_EVENT_UNKNOWN,
	VICI_EVENT,
};

#define VICI_MAX_MSGLEN		(512*1024)