/* * server.h * * Simulation of Chandy-Lamport algorithm * * This file is a part of Distributed Systems term thesis * Department KIV, ZCU Plzen * Author: Martin Sloup, msloup@students.zcu.cz */ #ifndef SERVER_H_ #define SERVER_H_ #define DEFAULT_AMOUNT 100; extern long branch_id; extern long amount; extern void server_start(int port); extern void server_loop(); extern void write_to_mark_log(); #endif /* SERVER_H_ */