struct pretty_component {
struct pretty_options options;
- bt_self_component_port_input_notification_iterator *iterator;
+ bt_self_component_port_input_message_iterator *iterator;
FILE *out, *err;
int depth; /* nesting, used for tabulation alignment. */
bool start_line;
GQuark stream_packet_context_quarks[STREAM_PACKET_CONTEXT_QUARKS_LEN];
BT_HIDDEN
-enum bt_self_component_status pretty_init(
+bt_self_component_status pretty_init(
bt_self_component_sink *component,
const bt_value *params,
void *init_method_data);
BT_HIDDEN
-enum bt_self_component_status pretty_consume(
+bt_self_component_status pretty_consume(
bt_self_component_sink *component);
BT_HIDDEN
-enum bt_self_component_status pretty_port_connected(
- bt_self_component_sink *component,
- bt_self_component_port_input *self_port,
- const bt_port_output *other_port);
+bt_self_component_status pretty_graph_is_configured(
+ bt_self_component_sink *component);
BT_HIDDEN
void pretty_finalize(bt_self_component_sink *component);
BT_HIDDEN
int pretty_print_event(struct pretty_component *pretty,
- const bt_notification *event_notif);
+ const bt_message *event_msg);
BT_HIDDEN
-int pretty_print_packet(struct pretty_component *pretty,
- const bt_notification *packet_beginning_notif);
+int pretty_print_discarded_items(struct pretty_component *pretty,
+ const bt_message *msg);
#endif /* BABELTRACE_PLUGIN_TEXT_PRETTY_PRETTY_H */