+
+//TODO ybrosseau 2012-05-15 put these struct in the .c to make them opaque
+struct _LttvTraceset {
+ char * filename;
+ GPtrArray *traces; /* Array of pointers to LttvTrace */
+ struct bt_context *context;
+ LttvAttribute *a;
+ LttvHooks *event_hooks;
+ struct bt_ctf_iter *iter;
+ GPtrArray *state_trace_handle_index;
+ gboolean has_precomputed_states;
+ TimeInterval time_span;
+ char *common_path;
+};
+
+#define TRACE_NAME_SIZE 100
+
+struct _LttvTrace {
+ // Trace id for babeltrace
+ LttvTraceset *traceset; /* container traceset */
+ gint id;
+ LttvAttribute *a;
+ guint ref_count;
+ LttvTraceState *state;
+ char short_name[TRACE_NAME_SIZE];
+ char *full_path;
+};
+
+/* In babeltrace, the position concept is an iterator. */
+struct _LttvTracesetPosition {
+ struct bt_ctf_iter *iter;
+ struct bt_iter_pos *bt_pos;
+ guint64 timestamp;
+ int cpu_id;
+};
+