Make the synchronization module interfaces more generic
[lttv.git] / lttv / lttv / sync / event_analysis.h
index 76658b4ec54f29d17ec1886d1c05e344135144d8..0838f28c1ad45c545f280fd2549aef5444036177 100644 (file)
@@ -22,7 +22,7 @@
 #include <glib.h>
 #include <stdio.h>
 
-#include "data_structures_tcp.h"
+#include "data_structures.h"
 
 
 struct _SyncState;
@@ -34,10 +34,12 @@ typedef struct
        void (*initAnalysis)(struct _SyncState* const syncState);
        void (*destroyAnalysis)(struct _SyncState* const syncState);
 
-       void (*analyzePacket)(struct _SyncState* const syncState, Packet* const
-               packet);
-       void (*analyzeExchange)(struct _SyncState* const syncState, Packet* const
-               packet);
+       void (*analyzeMessage)(struct _SyncState* const syncState, Message* const
+               message);
+       void (*analyzeExchange)(struct _SyncState* const syncState, Exchange* const
+               exchange);
+       void (*analyzeBroadcast)(struct _SyncState* const syncState, Broadcast* const
+               broadcast);
        GArray* (*finalizeAnalysis)(struct _SyncState* const syncState);
        void (*printAnalysisStats)(struct _SyncState* const syncState);
        void (*writeAnalysisGraphsPlots)(FILE* stream, struct _SyncState* const
This page took 0.023203 seconds and 4 git commands to generate.