ir: make bt_ctf_stream_create() public
[babeltrace.git] / include / babeltrace / ctf-writer / writer-internal.h
index 388ff0d1a9893cc5b7a853ed33d64cb813c03f80..3fa03b5953cc33bcdd5145ffe5edeb3fcbfe2a0e 100644 (file)
  * SOFTWARE.
  */
 
-#include <babeltrace/ctf-writer/ref-internal.h>
 #include <babeltrace/ctf-writer/writer.h>
 #include <babeltrace/babeltrace-internal.h>
 #include <glib.h>
 #include <dirent.h>
 #include <sys/types.h>
 #include <babeltrace/ctf-ir/trace.h>
+#include <babeltrace/object-internal.h>
 
 struct bt_ctf_writer {
-       struct bt_ctf_ref ref_count;
+       struct bt_object base;
        int frozen; /* Protects attributes that can't be changed mid-trace */
        struct bt_ctf_trace *trace;
        GString *path;
@@ -44,4 +44,7 @@ struct bt_ctf_writer {
        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.02497 seconds and 4 git commands to generate.