//TODO ybrosseau find a way to return an error code
unsigned long lttv_event_get_long_unsigned(LttvEvent *event, const char* field)
{
- const struct definition *scope;
+ const struct bt_definition *scope;
unsigned long timestamp;
unsigned long data;
struct bt_ctf_event *ctf_event = event->bt_event;
char* lttv_event_get_string(LttvEvent *event, const char* field)
{
- const struct definition *scope;
+ const struct bt_definition *scope;
unsigned long timestamp;
char* data;
struct bt_ctf_event *ctf_event = event->bt_event;
}
long lttv_event_get_long(LttvEvent *event, const char* field)
{
- const struct definition *scope;
+ const struct bt_definition *scope;
unsigned long timestamp;
long data;
struct bt_ctf_event *ctf_event = event->bt_event;
/*
unsigned int lttv_event_get_int_unsigned(LttvEvent *event, const char* field)
{
- struct definition *scope;
+ struct bt_definition *scope;
unsigned long timestamp;
char* data;
struct bt_ctf_event *ctf_event = event->bt_event;
}
int lttv_event_get_int(LttvEvent *event, const char* field)
{
- struct definition *scope;
+ struct bt_definition *scope;
unsigned long timestamp;
char* data;
struct bt_ctf_event *ctf_event = event->bt_event;