* 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;
int metadata_fd;
};
+BT_HIDDEN
+void bt_ctf_writer_freeze(struct bt_ctf_writer *writer);
+
#endif /* BABELTRACE_CTF_WRITER_WRITER_INTERNAL_H */