summaryrefslogtreecommitdiff
path: root/dist.h
diff options
context:
space:
mode:
Diffstat (limited to 'dist.h')
-rw-r--r--dist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dist.h b/dist.h
index d502bf3..b7758cf 100644
--- a/dist.h
+++ b/dist.h
@@ -2,6 +2,7 @@
#define __IFMO_DISTRIBUTED_CLASS_DIST__H
#include "pa23.h"
+#include "banking.h"
#define MAX_PIPES ( MAX_PROCCNT ) * ( MAX_PROCCNT - 1 )
@@ -9,6 +10,7 @@ typedef struct {
int pipes[MAX_PIPES][2];
uint8_t proccnt;
uint8_t x;
+ balance_t balances[MAX_X];
FILE* events_log;
FILE* pipes_log;