Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
{
struct bt_private_connection *connection;
struct writer_component *writer;
{
struct bt_private_connection *connection;
struct writer_component *writer;
+ static const enum bt_notification_type notif_types[] = {
+ BT_NOTIFICATION_TYPE_PACKET_BEGIN,
+ BT_NOTIFICATION_TYPE_PACKET_END,
+ BT_NOTIFICATION_TYPE_SENTINEL,
+ };
writer = bt_private_component_get_user_data(component);
assert(writer);
writer = bt_private_component_get_user_data(component);
assert(writer);
assert(connection);
writer->input_iterator =
bt_private_connection_create_notification_iterator(connection,
assert(connection);
writer->input_iterator =
bt_private_connection_create_notification_iterator(connection,
if (!writer->input_iterator) {
writer->error = true;
if (!writer->input_iterator) {
writer->error = true;