/* This file is part of the Linux Trace Toolkit trace reading library
* Copyright (C) 2003-2004 Michel Dagenais
+ * 2006 Mathieu Desnoyers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
void ltt_event_position_get(LttEventPosition *ep, LttTracefile **tf,
guint *block, guint *offset, guint64 *tsc);
+void ltt_event_position_set(LttEventPosition *ep, LttTracefile *tf,
+ guint block, guint offset, guint64 tsc);
+
gint ltt_event_position_compare(const LttEventPosition *ep1,
const LttEventPosition *ep2);
LttField *ltt_event_field_element_select(LttEvent *e, LttField *f, gulong i);
+off_t ltt_event_field_offset(LttEvent *e, LttField *f);
/* A union is like a structure except that only a single member at a time
is present depending on the specific event instance. This function tells
gchar *ltt_event_get_string(LttEvent *e, LttField *f);
-void compute_offsets(LttTracefile *tf, LttEventType *event, off_t *offset,
- void *root);
+void compute_offsets(LttTracefile *tf, LttFacility *fac,
+ LttEventType *event, off_t *offset, void *root);
#endif // EVENT_H