24 #ifndef __BLACKBOARD_NET_MESSAGES_H_
25 #define __BLACKBOARD_NET_MESSAGES_H_
28 #include <netcomm/utils/dynamic_buffer.h>
29 #include <interface/interface.h>
38 MSG_BB_INTERFACE_LIST = 1,
39 MSG_BB_OPEN_FOR_READING = 2,
40 MSG_BB_OPEN_FOR_WRITING = 3,
41 MSG_BB_OPEN_SUCCESS = 4,
42 MSG_BB_OPEN_FAILURE = 5,
45 MSG_BB_INTERFACE_MESSAGE = 8,
46 MSG_BB_DATA_CHANGED = 9,
47 MSG_BB_READER_ADDED = 10,
48 MSG_BB_READER_REMOVED = 11,
49 MSG_BB_WRITER_ADDED = 12,
50 MSG_BB_WRITER_REMOVED = 13,
51 MSG_BB_INTERFACE_CREATED = 14,
52 MSG_BB_INTERFACE_DESTROYED = 15,
73 char type_pattern[__INTERFACE_TYPE_SIZE];
74 char id_pattern[__INTERFACE_ID_SIZE];
79 char type[__INTERFACE_TYPE_SIZE];
80 char id[__INTERFACE_ID_SIZE];
81 unsigned char hash[__INTERFACE_HASH_SIZE];
87 char type[__INTERFACE_TYPE_SIZE];
88 char id[__INTERFACE_ID_SIZE];
89 unsigned char hash[__INTERFACE_HASH_SIZE];
92 uint32_t has_writer : 1;
94 uint32_t num_readers : 31;
102 char type[__INTERFACE_TYPE_SIZE];
103 char id[__INTERFACE_ID_SIZE];
122 uint32_t event_serial;
135 uint32_t has_writer : 1;
136 uint32_t num_readers : 31;
166 char msg_type[__INTERFACE_MESSAGE_TYPE_SIZE];