Port: dirfd is not portable, replace it
[babeltrace.git] / include / babeltrace / ctf-writer / writer-internal.h
index 6b1677ae22ef445c047ae0b85148802441a2679b..17d4af7d99c9a41b0eadb98d2aef1f6a21282fce 100644 (file)
 #include <dirent.h>
 #include <sys/types.h>
 #include <babeltrace/ctf-ir/trace.h>
-#include <babeltrace/ctf-ir/common-internal.h>
+#include <babeltrace/object-internal.h>
 
 struct bt_ctf_writer {
-       struct bt_ctf_base base;
+       struct bt_object base;
        int frozen; /* Protects attributes that can't be changed mid-trace */
        struct bt_ctf_trace *trace;
        GString *path;
-       int trace_dir_fd;
        int metadata_fd;
 };
 
+BT_HIDDEN
+void bt_ctf_writer_freeze(struct bt_ctf_writer *writer);
+
 #endif /* BABELTRACE_CTF_WRITER_WRITER_INTERNAL_H */
This page took 0.024902 seconds and 4 git commands to generate.