move ltt-private.h from public directroy into private directroy
[lttv.git] / ltt / branches / poly / ltt / event.c
index 9b3ff0d9984b63155baaf14ab3c6b54fa4c90c45..8a3174cff8a8e124322dd5ed75b2fa217f10c72f 100644 (file)
@@ -1,8 +1,12 @@
 #include <stdio.h>
 #include <asm/types.h>
 #include <linux/byteorder/swab.h>
+
 #include "parser.h"
+#include <ltt/ltt.h>
+#include "ltt-private.h"
 #include <ltt/event.h>
+#include <ltt/trace.h>
 
 /*****************************************************************************
  *Function name
@@ -200,6 +204,11 @@ void ltt_event_position(LttEvent *e, LttEventPosition *ep)
   ep->tf                = e->tracefile;
 }
 
+LttEventPosition * ltt_event_position_new()
+{
+  return g_new(LttEventPosition, 1);
+}
+
 /*****************************************************************************
  *Function name
  *    ltt_event_position_get : get the block number and index of the event
This page took 0.022454 seconds and 4 git commands to generate.