Initial port of the state system to the LTTng 2.0 trace format
[lttv.git] / lttv / lttv / event.h
index ce15bf60934552aeb79d0a73ff0c9d03440b00d3..ebdb331be53df76fbca34a2d847f1b302a6d9ec9 100644 (file)
 #ifndef LTTV_EVENT_H
 #define LTTV_EVENT_H
 
+#include <lttv/time.h>
+#include <lttv/state.h>
 /* Forward declaration */
 struct bt_ctf_event;
+//struct LttvTraceState;
 /* 
    Basic event container used through LTTV
 */
@@ -29,4 +32,14 @@ typedef struct
   LttvTraceState *state;
 } LttvEvent;
 
+LttTime lttv_event_get_timestamp(LttvEvent *event);
+unsigned long lttv_event_get_long_unsigned(LttvEvent *event, const char* field);
+long lttv_event_get_long(LttvEvent *event, const char* field);
+/*unsigned int lttv_event_get_int_unsigned(LttvEvent *event, const char* field);
+int lttv_event_get_int(LttvEvent *event, const char* field);
+*/
+
+char* lttv_event_get_string(LttvEvent *event, const char* field);
+
+
 #endif /* LTTV_EVENT_H */
This page took 0.022353 seconds and 4 git commands to generate.