X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=plugins%2Ftext%2Fpretty%2Fpretty.h;h=ff573e8b568631060cc5e6369e7f69aa1063a28b;hb=17582c6d9f98ff5ce853169cec4f701da29164c4;hp=a5d9cb888399dcc36cb11aa6777022fa555cea4a;hpb=e0831b38938074ba6094cf1fc96c2fbe4bee0c09;p=babeltrace.git diff --git a/plugins/text/pretty/pretty.h b/plugins/text/pretty/pretty.h index a5d9cb88..ff573e8b 100644 --- a/plugins/text/pretty/pretty.h +++ b/plugins/text/pretty/pretty.h @@ -80,9 +80,8 @@ struct pretty_component { bool start_line; GString *string; GString *tmp_string; - struct bt_value *plugin_opt_map; /* Temporary parameter map. */ + struct bt_private_value *plugin_opt_map; /* Temporary parameter map. */ bool use_colors; - bool error; uint64_t last_cycles_timestamp; uint64_t delta_cycles; @@ -116,7 +115,7 @@ BT_HIDDEN enum bt_component_status pretty_consume(struct bt_private_component *component); BT_HIDDEN -void pretty_port_connected( +enum bt_component_status pretty_port_connected( struct bt_private_component *component, struct bt_private_port *self_port, struct bt_port *other_port); @@ -129,8 +128,7 @@ enum bt_component_status pretty_print_event(struct pretty_component *pretty, struct bt_notification *event_notif); BT_HIDDEN -enum bt_component_status pretty_print_discarded_elements( - struct pretty_component *pretty, - struct bt_notification *notif); +enum bt_component_status pretty_print_packet(struct pretty_component *pretty, + struct bt_notification *packet_beginning_notif); #endif /* BABELTRACE_PLUGIN_TEXT_PRETTY_PRETTY_H */