Revision 7e39164f topology.h

View differences:

topology.h
6 6
 */
7 7
#include <stdint.h>
8 8

  
9
int peers_init();
10
struct peerset *get_peers();
9
int peers_init(void);
10
struct peerset *get_peers(void);
11 11
void update_peers(struct nodeID *from, const uint8_t *buff, int len);
12 12
struct peer *nodeid_to_peer(const struct nodeID* id, int reg);
13
int topoAddNeighbour(struct nodeID *neighbour, void *metadata, int metadata_size);
14
int topologyInit(struct nodeID *myID, const char *config);
15
void topologyShutdown(void);

Also available in: Unified diff