g_free(dmesg_comp);
}
-BT_HIDDEN
bt_component_class_initialize_method_status dmesg_init(
bt_self_component_source *self_comp_src,
- bt_self_component_source_configuration *config,
- const bt_value *params, void *init_method_data)
+ bt_self_component_source_configuration *config __attribute__((unused)),
+ const bt_value *params,
+ void *init_method_data __attribute__((unused)))
{
struct dmesg_component *dmesg_comp = g_new0(struct dmesg_component, 1);
bt_component_class_initialize_method_status status;
return status;
}
-BT_HIDDEN
void dmesg_finalize(bt_self_component_source *self_comp)
{
destroy_dmesg_component(bt_self_component_get_data(
-BT_HIDDEN
bt_message_iterator_class_initialize_method_status dmesg_msg_iter_init(
bt_self_message_iterator *self_msg_iter,
- bt_self_message_iterator_configuration *config,
- bt_self_component_port_output *self_port)
+ bt_self_message_iterator_configuration *config __attribute__((unused)),
+ bt_self_component_port_output *self_port __attribute__((unused)))
{
bt_self_component *self_comp =
bt_self_message_iterator_borrow_component(self_msg_iter);
return status;
}
-BT_HIDDEN
void dmesg_msg_iter_finalize(
bt_self_message_iterator *priv_msg_iter)
{
return status;
}
-BT_HIDDEN
bt_message_iterator_class_next_method_status dmesg_msg_iter_next(
bt_self_message_iterator *self_msg_iter,
bt_message_array_const msgs, uint64_t capacity,
* accumulated message objects in the output
* message array, so we need to return
* BT_SELF_MESSAGE_ITERATOR_STATUS_OK so that they
- * are transfered to downstream. This other status
+ * are transferred to downstream. This other status
* occurs again the next time muxer_msg_iter_do_next()
* is called, possibly without any accumulated
* message, in which case we'll return it.
return status;
}
-BT_HIDDEN
bt_message_iterator_class_can_seek_beginning_method_status
dmesg_msg_iter_can_seek_beginning(
bt_self_message_iterator *self_msg_iter, bt_bool *can_seek)
return BT_MESSAGE_ITERATOR_CLASS_CAN_SEEK_BEGINNING_METHOD_STATUS_OK;
}
-BT_HIDDEN
bt_message_iterator_class_seek_beginning_method_status
dmesg_msg_iter_seek_beginning(
bt_self_message_iterator *self_msg_iter)