Make API CTF-agnostic
[babeltrace.git] / plugins / ctf / fs-src / fs.h
index 101d427e704a11bc233e2ad4a74604b283361013..c72be5e03dd3000b065ef1521384be843d7a5cfc 100644 (file)
@@ -33,6 +33,7 @@
 #include <babeltrace/babeltrace.h>
 #include "data-stream-file.h"
 #include "metadata.h"
+#include "../common/metadata/decoder.h"
 
 BT_HIDDEN
 extern bool ctf_fs_debug;
@@ -48,9 +49,17 @@ struct ctf_fs_file {
 };
 
 struct ctf_fs_metadata {
+       /* Owned by this */
+       struct ctf_metadata_decoder *decoder;
+
        /* Owned by this */
        struct bt_trace *trace;
 
+       /* Weak (owned by `decoder` above) */
+       struct ctf_trace_class *tc;
+
+       /* Owned by this */
+
        /* Owned by this */
        char *text;
 
@@ -76,9 +85,6 @@ struct ctf_fs_trace {
        /* Owned by this */
        struct ctf_fs_metadata *metadata;
 
-       /* Owned by this */
-       struct bt_clock_class_priority_map *cc_prio_map;
-
        /* Array of struct ctf_fs_ds_file_group *, owned by this */
        GPtrArray *ds_file_groups;
 
This page took 0.024316 seconds and 4 git commands to generate.