X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fevent.h;h=ebdb331be53df76fbca34a2d847f1b302a6d9ec9;hb=7a4bdb546094fea3343bfc80e3744ea26a08dd22;hp=ce15bf60934552aeb79d0a73ff0c9d03440b00d3;hpb=1111bb0f69e3c01c9264b19cbc7d2a8a02eeb569;p=lttv.git diff --git a/lttv/lttv/event.h b/lttv/lttv/event.h index ce15bf60..ebdb331b 100644 --- a/lttv/lttv/event.h +++ b/lttv/lttv/event.h @@ -18,8 +18,11 @@ #ifndef LTTV_EVENT_H #define LTTV_EVENT_H +#include +#include /* 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 */