Ajout du header pour node.c
This commit is contained in:
parent
62b01d973f
commit
2b9e67e627
26
src/node.h
Normal file
26
src/node.h
Normal file
@ -0,0 +1,26 @@
|
||||
// Define constants
|
||||
|
||||
|
||||
// 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);
|
Loading…
Reference in New Issue
Block a user