#include <glib.h>
-#include "data_structures_tcp.h"
+#include "data_structures.h"
struct _SyncState;
typedef struct
{
char* name;
+ bool canMatch[TYPE_COUNT];
void (*initMatching)(struct _SyncState* const syncState);
void (*destroyMatching)(struct _SyncState* const syncState);
- void (*matchEvent)(struct _SyncState* const syncState, NetEvent* const event,
- EventType eventType);
+ void (*matchEvent)(struct _SyncState* const syncState, Event* const
+ event);
GArray* (*finalizeMatching)(struct _SyncState* const syncState);
void (*printMatchingStats)(struct _SyncState* const syncState);
- void (*writeMatchingGraphsPlots)(FILE* stream, struct _SyncState* const
- syncState, const unsigned int i, const unsigned int j);
- void (*writeMatchingGraphsOptions)(FILE* stream, struct _SyncState* const
- syncState, const unsigned int i, const unsigned int j);
+ void (*writeMatchingGraphsPlots)(struct _SyncState* const syncState, const
+ unsigned int i, const unsigned int j);
+ void (*writeMatchingGraphsOptions)(struct _SyncState* const syncState,
+ const unsigned int i, const unsigned int j);
} MatchingModule;
#endif