#include <ltt/ltt.h>
+LttEvent *ltt_event_new();
+
+void ltt_event_destroy(LttEvent *event);
+
/* Events and their content, including the raw data, are only valid
until reading another event from the same tracefile.
Indeed, since event reading is critical to the performance,
the memory associated with an event may be reused at each read. */
-
/* Obtain the trace unique integer id associated with the type of
this event */
void ltt_event_position_set(LttEventPosition *ep,
unsigned block_number, unsigned index_in_block);
+gint ltt_event_position_compare(const LttEventPosition *ep1,
+ const LttEventPosition *ep2);
+
+gint ltt_event_event_position_compare(const LttEvent *event,
+ const LttEventPosition *ep);
+
+void ltt_event_position_copy(LttEventPosition *dest,
+ const LttEventPosition *src);
/* CPU id of the event */