// Define constants #ifndef NODE_H #define NODE_H // fonctions signatures void listen_for_packets(); void check_header(); void update_neighbours(); void work_with_tlvs(); int validate_tlvs(); // threaded functions void t_ask_for_more_peers(); void t_update_neighbours(); void t_get_network_state(); // Helper functions char * hash(); short * get_seq_no(short s, int n); #endif