lib: make trace IR API const-correct
[babeltrace.git] / plugins / ctf / fs-src / fs.h
index d2c5668614b46dee0f2af9f093e3814a29d2ddbe..4b4dcc018741ace1f159d7fd1d412b6ea0745d54 100644 (file)
@@ -53,7 +53,7 @@ struct ctf_fs_metadata {
        struct ctf_metadata_decoder *decoder;
 
        /* Owned by this */
-       struct bt_private_trace *trace;
+       struct bt_trace *trace;
 
        /* Weak (owned by `decoder` above) */
        struct ctf_trace_class *tc;
@@ -111,10 +111,10 @@ struct ctf_fs_ds_file_group {
        GPtrArray *ds_file_infos;
 
        /* Owned by this */
-       struct bt_private_stream_class *stream_class;
+       struct bt_stream_class *stream_class;
 
        /* Owned by this */
-       struct bt_private_stream *stream;
+       struct bt_stream *stream;
 
        /* Stream (instance) ID; -1ULL means none */
        uint64_t stream_id;
@@ -154,7 +154,7 @@ struct ctf_fs_notif_iter_data {
 BT_HIDDEN
 enum bt_self_component_status ctf_fs_init(
                struct bt_self_component_source *source,
-               struct bt_value *params, void *init_method_data);
+               const struct bt_value *params, void *init_method_data);
 
 BT_HIDDEN
 void ctf_fs_finalize(struct bt_self_component_source *component);
@@ -163,8 +163,8 @@ BT_HIDDEN
 enum bt_query_status ctf_fs_query(
                struct bt_self_component_class_source *comp_class,
                struct bt_query_executor *query_exec,
-               const char *object, struct bt_value *params,
-               struct bt_value **result);
+               const char *object, const struct bt_value *params,
+               const struct bt_value **result);
 
 BT_HIDDEN
 struct ctf_fs_trace *ctf_fs_trace_create(const char *path, const char *name,
This page took 0.025044 seconds and 4 git commands to generate.