Make the synchronization module interfaces more generic
[lttv.git] / lttv / lttv / sync / event_analysis.h
index 3b3cacd5f530b48a843add59f746b1a5e501f697..0838f28c1ad45c545f280fd2549aef5444036177 100644 (file)
@@ -20,8 +20,9 @@
 #define EVENT_ANALYSIS_H
 
 #include <glib.h>
+#include <stdio.h>
 
-#include "data_structures_tcp.h"
+#include "data_structures.h"
 
 
 struct _SyncState;
@@ -33,10 +34,18 @@ 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
+               syncState, const unsigned int i, const unsigned int j);
+       void (*writeAnalysisGraphsOptions)(FILE* stream, struct _SyncState* const
+               syncState, const unsigned int i, const unsigned int j);
 } AnalysisModule;
 
 #endif
This page took 0.023995 seconds and 4 git commands to generate.