lib: make graph API const-correct
[babeltrace.git] / plugins / text / pretty / pretty.h
index 6be4ba3f1f856fef8234825378d6c1da880cb644..b4ad2864092883eb75cbae5f683f5c8fc6589daf 100644 (file)
@@ -78,7 +78,7 @@ struct pretty_component {
        bool start_line;
        GString *string;
        GString *tmp_string;
-       struct bt_private_value *plugin_opt_map; /* Temporary parameter map. */
+       struct bt_value *plugin_opt_map; /* Temporary parameter map. */
        bool use_colors;
 
        uint64_t last_cycles_timestamp;
@@ -106,7 +106,7 @@ GQuark stream_packet_context_quarks[STREAM_PACKET_CONTEXT_QUARKS_LEN];
 BT_HIDDEN
 enum bt_self_component_status pretty_init(
                struct bt_self_component_sink *component,
-               struct bt_value *params,
+               const struct bt_value *params,
                void *init_method_data);
 
 BT_HIDDEN
@@ -117,17 +117,17 @@ BT_HIDDEN
 enum bt_self_component_status pretty_port_connected(
                struct bt_self_component_sink *component,
                struct bt_self_component_port_input *self_port,
-               struct bt_port_output *other_port);
+               const struct bt_port_output *other_port);
 
 BT_HIDDEN
 void pretty_finalize(struct bt_self_component_sink *component);
 
 BT_HIDDEN
 int pretty_print_event(struct pretty_component *pretty,
-               struct bt_notification *event_notif);
+               const struct bt_notification *event_notif);
 
 BT_HIDDEN
 int pretty_print_packet(struct pretty_component *pretty,
-               struct bt_notification *packet_beginning_notif);
+               const struct bt_notification *packet_beginning_notif);
 
 #endif /* BABELTRACE_PLUGIN_TEXT_PRETTY_PRETTY_H */
This page took 0.032367 seconds and 4 git commands to generate.