Make the synchronization module interfaces more generic
[lttv.git] / lttv / lttv / sync / event_processing.h
index bbaae74cee28595471403111af6d394d4ce10578..44a2c4cf43701150e8b1eab9c8059321a7f2e0d6 100644 (file)
 #define EVENT_PROCESSING_H
 
 #include <glib.h>
+#include <stdio.h>
 
 #include <lttv/tracecontext.h>
 
-#include "data_structures_tcp.h"
+#include "data_structures.h"
 
 
 struct _SyncState;
@@ -37,7 +38,17 @@ typedef struct
        void (*destroyProcessing)(struct _SyncState* const syncState);
 
        void (*finalizeProcessing)(struct _SyncState* const syncState);
+
        void (*printProcessingStats)(struct _SyncState* const syncState);
+
+       /* The processing module must provide the next function if it wishes
+        * graphs to be created at all. If it provides the next function, it must
+        * also provide the second next function.
+        */
+       void (*writeProcessingGraphsPlots)(FILE* stream, struct _SyncState* const
+               syncState, const unsigned int i, const unsigned int j);
+       void (*writeProcessingGraphsOptions)(FILE* stream, struct _SyncState*
+               const syncState, const unsigned int i, const unsigned int j);
 } ProcessingModule;
 
 #endif
This page took 0.024432 seconds and 4 git commands to generate.