initProcessing takes a va_arg rather than an lttv-specific type
[lttv.git] / lttv / lttv / sync / event_processing.h
index 6e8c3799cd245f6e62f815819be1d07f08c824dd..34ea8001d4ec798f22b9000257601afc513943ff 100644 (file)
@@ -22,9 +22,8 @@
 #include <glib.h>
 #include <stdio.h>
 
-#include <lttv/tracecontext.h>
-
-#include "data_structures_tcp.h"
+#include "data_structures.h"
+#include "graph_functions.h"
 
 
 struct _SyncState;
@@ -33,22 +32,11 @@ typedef struct
 {
        char* name;
 
-       void (*initProcessing)(struct _SyncState* const syncStateLttv,
-               LttvTracesetContext* const traceSetContext);
+       void (*initProcessing)(struct _SyncState* const syncStateLttv, ...);
        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);
+       GraphFunctions graphFunctions;
 } ProcessingModule;
 
 #endif
This page took 0.031384 seconds and 4 git commands to generate.