ctf: allocate some structures with new
[babeltrace.git] / src / plugins / ctf / fs-src / metadata.hpp
index 3f10a90bcc376995253c9078291c28a2ff9e1440..bd8d2496aa7ea1b24f76d297cc7019745deeb1ae 100644 (file)
@@ -7,23 +7,17 @@
 #ifndef CTF_FS_METADATA_H
 #define CTF_FS_METADATA_H
 
-#include <glib.h>
 #include <stdio.h>
 
 #include <babeltrace2/babeltrace.h>
 
-#include "common/macros.h"
-
 #define CTF_FS_METADATA_FILENAME "metadata"
 
-struct ctf_fs_trace;
-struct ctf_fs_metadata;
-
 struct ctf_fs_metadata_config
 {
-    bool force_clock_class_origin_unix_epoch;
-    int64_t clock_class_offset_s;
-    int64_t clock_class_offset_ns;
+    bool force_clock_class_origin_unix_epoch = false;
+    int64_t clock_class_offset_s = 0;
+    int64_t clock_class_offset_ns = 0;
 };
 
 int ctf_fs_metadata_init(struct ctf_fs_metadata *metadata);
This page took 0.022959 seconds and 4 git commands to generate.