summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rw-r--r--main.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/main.h b/main.h
index c746d75..42e288e 100644
--- a/main.h
+++ b/main.h
@@ -8,23 +8,5 @@
#define MAX_X ( 10 )
#define MAX_PROCCNT ( MAX_X + 1 )
-#define MAX_PIPES ( MAX_PROCCNT ) * ( MAX_PROCCNT - 1 )
-
-typedef struct {
- int pipes[MAX_PIPES][2];
- uint8_t proccnt;
- uint8_t x;
-
- FILE* events_log;
- FILE* pipes_log;
- pid_t parent_pid;
-} dist_info_t;
-
-typedef struct {
- int id;
- dist_info_t *dist_info;
-} my_info_t;
-
-void close_redundant_pipes( dist_info_t *info, uint8_t id );
#endif // __IFMO_DISTRIBUTED_CLASS_MAIN__H