typedef struct _LttvTraceset LttvTraceset;
+typedef struct _LttvTrace LttvTrace;
/* Tracesets may be added to, removed from and their content listed. */
LttvTraceset *lttv_traceset_new();
+char * lttv_traceset_name(LttvTraceset * s);
+
+LttvTrace *lttv_trace_new(LttTrace *t);
+
+LttvTraceset *lttv_traceset_copy(LttvTraceset *s_orig);
+
+LttvTraceset *lttv_traceset_load(const gchar *filename);
+
+gint lttv_traceset_save(LttvTraceset *s);
+
void lttv_traceset_destroy(LttvTraceset *s);
-void lttv_traceset_add(LttvTraceset *s, LttTrace *t);
+void lttv_trace_destroy(LttvTrace *t);
+
+void lttv_traceset_add(LttvTraceset *s, LttvTrace *t);
unsigned lttv_traceset_number(LttvTraceset *s);
-LttTrace *lttv_traceset_get(LttvTraceset *s, unsigned i);
+LttvTrace *lttv_traceset_get(LttvTraceset *s, unsigned i);
void lttv_traceset_remove(LttvTraceset *s, unsigned i);
-
/* An attributes table is attached to the set and to each trace in the set. */
LttvAttribute *lttv_traceset_attribute(LttvTraceset *s);
-LttvAttribute *lttv_traceset_trace_attribute(LttvTraceset *s,
- unsigned i);
+LttvAttribute *lttv_trace_attribute(LttvTrace *t);
+
+LttTrace *lttv_trace(LttvTrace *t);
+guint lttv_trace_get_ref_number(LttvTrace * t);
#endif // TRACESET_H