X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fevent.h;h=e91875e548f080ef9cc2a7c12bd7da1062422bdb;hb=cba098f34039de4c6398dda885dbf27ff4799f6e;hp=ac3244a5fcc36bb89192439b50296ece7c14aa95;hpb=f2923fb2ab6ecc36c74e7845b7b07fe96d3d6d67;p=lttv.git diff --git a/ltt/branches/poly/ltt/event.h b/ltt/branches/poly/ltt/event.h index ac3244a5..e91875e5 100644 --- a/ltt/branches/poly/ltt/event.h +++ b/ltt/branches/poly/ltt/event.h @@ -1,5 +1,6 @@ /* 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 @@ -68,6 +69,9 @@ LttEventPosition * ltt_event_position_new(); 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);