Update FSF address
[lttv.git] / lttv / lttv / event.h
index ce15bf60934552aeb79d0a73ff0c9d03440b00d3..1053b40c3b6f2a4fb5326ab45742746bc85b00f8 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, 
- * MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA 02110-1301, USA.
  */
 #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.023634 seconds and 4 git commands to generate.