Revision 9a1f5816 topology.h

View differences:

topology.h
26 26

  
27 27
#define MSG_TYPE_NEIGHBOURHOOD   0x22
28 28

  
29
struct peerset *get_neighbours(void);
29
struct peerset *topology_get_neighbours(void);
30 30
void topology_update();
31 31
struct peer *nodeid_to_peer(const struct nodeID* id, int reg);
32
int topology_node_insert(const struct nodeID *neighbour);
32
int topology_node_insert(struct nodeID *neighbour);
33 33
int topology_init(struct nodeID *myID, const char *config);
34 34
void topology_message_parse(struct nodeID *from, const uint8_t *buff, int len);
35
void peerset_print(const struct peerset * pset,const char * name);
35 36

  
36 37
#endif	/* TOPOLOGY_H */

Also available in: Unified diff