many compile fix
[lttv.git] / ltt / branches / poly / ltt / event.h
index 4cee97133a0106767817540f0b8791657c6c83e5..f13710754bfd2124335188f8937bf90b7a125b82 100644 (file)
 
 #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 */
 
@@ -69,6 +72,14 @@ void ltt_event_position_get(LttEventPosition *ep,
 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 */
 
@@ -103,13 +114,13 @@ unsigned ltt_event_field_union_member(LttEvent *e, LttField *f);
 /* These functions extract data from an event after architecture specific
    conversions. */
 
-unsigned ltt_event_get_unsigned(LttEvent *e, LttField *f);
+guint32 ltt_event_get_unsigned(LttEvent *e, LttField *f);
 
-int ltt_event_get_int(LttEvent *e, LttField *f);
+gint32 ltt_event_get_int(LttEvent *e, LttField *f);
 
-unsigned long ltt_event_get_long_unsigned(LttEvent *e, LttField *f);
+guint64 ltt_event_get_long_unsigned(LttEvent *e, LttField *f);
 
-long int ltt_event_get_long_int(LttEvent *e, LttField *f);
+gint64 ltt_event_get_long_int(LttEvent *e, LttField *f);
 
 float ltt_event_get_float(LttEvent *e, LttField *f);
 
This page took 0.042702 seconds and 4 git commands to generate.