X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fevent.c;h=1c2140ef983c9f45b21f0b44ea44271cf8e3e5b5;hb=c02ea99f196ff9bf99335fcf0cae4efc0e28f051;hp=d83c62c043a4d87bf8abfcfd3accd1db07d43bca;hpb=58c88a41c3beff0c4c6ff7d856ab2355820d9f16;p=lttv.git diff --git a/ltt/branches/poly/ltt/event.c b/ltt/branches/poly/ltt/event.c index d83c62c0..1c2140ef 100644 --- a/ltt/branches/poly/ltt/event.c +++ b/ltt/branches/poly/ltt/event.c @@ -26,6 +26,18 @@ #include #include + +LttEvent *ltt_event_new() +{ + return g_new(LttEvent, 1); +} + +void ltt_event_destroy(LttEvent *event) +{ + g_free(event); +} + + /***************************************************************************** *Function name * ltt_event_refresh_fields : refresh fields of an event