lib: remove "unknown clock snapshot" concept
[babeltrace.git] / include / babeltrace / trace-ir / trace.h
index da493f386555161f1dcd9658acda2d1b5911d9d5..36565dfc5e1e0b0bded876e1c11e8ca4f4905b9f 100644 (file)
@@ -2,10 +2,9 @@
 #define BABELTRACE_TRACE_IR_TRACE_H
 
 /*
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * in the Software without restriction, including without limitation the rights
  * http://www.efficios.com/ctf
  */
 
-/* For bt_bool */
+/* For bt_bool, bt_trace, bt_trace_class, bt_stream */
 #include <babeltrace/types.h>
 
+/* For bt_trace_status */
+#include <babeltrace/trace-ir/trace-const.h>
+
 #include <stdint.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct bt_trace;
-struct bt_trace_class;
-struct bt_stream;
+extern bt_trace_class *bt_trace_borrow_class(bt_trace *trace);
 
-extern struct bt_trace_class *bt_trace_borrow_class(struct bt_trace *trace);
+extern bt_trace *bt_trace_create(bt_trace_class *trace_class);
 
-extern struct bt_trace *bt_trace_create(struct bt_trace_class *trace_class);
+extern bt_trace_status bt_trace_set_name(bt_trace *trace,
+               const char *name);
 
-extern int bt_trace_set_name(struct bt_trace *trace, const char *name);
-
-extern struct bt_stream *bt_trace_borrow_stream_by_index(struct bt_trace *trace,
+extern bt_stream *bt_trace_borrow_stream_by_index(bt_trace *trace,
                uint64_t index);
 
-extern struct bt_stream *bt_trace_borrow_stream_by_id(struct bt_trace *trace,
+extern bt_stream *bt_trace_borrow_stream_by_id(bt_trace *trace,
                uint64_t id);
 
-extern int bt_trace_make_static(struct bt_trace *trace);
-
 #ifdef __cplusplus
 }
 #endif
This page took 0.025169 seconds and 4 git commands to generate.