#include <glib.h>
#include <stdio.h>
-#include <lttv/tracecontext.h>
-
#include "data_structures.h"
+#include "graph_functions.h"
struct _SyncState;
{
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