24 #include <blackboard/net/ilist_content.h>
26 #include <netcomm/utils/dynamic_buffer.h>
27 #include <netcomm/fawkes/component_ids.h>
28 #include <core/exceptions/software.h>
62 if ( component_id != FAWKES_CID_BLACKBOARD ) {
66 void *ilist_payload = (
void *)((
size_t)payload +
sizeof(msg));
68 payload_size -
sizeof(msg));
75 delete interface_list;
95 const unsigned char *hash,
97 bool has_writer,
unsigned int num_readers)
100 memset(&info, 0,
sizeof(info));
101 strncpy(info.
type, type, __INTERFACE_TYPE_SIZE);
102 strncpy(info.
id,
id, __INTERFACE_ID_SIZE);
103 memcpy(info.
hash, hash, __INTERFACE_HASH_SIZE);
104 interface_list->
append(&info,
sizeof(info));
118 memset(&info, 0,
sizeof(info));
119 strncpy(info.
type, iinfo.
type(), __INTERFACE_TYPE_SIZE);
120 strncpy(info.
id, iinfo.
id(), __INTERFACE_ID_SIZE);
121 memcpy(info.
hash, iinfo.
hash(), __INTERFACE_HASH_SIZE);
125 interface_list->
append(&info,
sizeof(info));
169 void *tmp = interface_list->
next(size);