Revision df98cd3a som/TopologyManager/topocache.h

View differences:

som/TopologyManager/topocache.h
13 13
int cache_add(struct peer_cache *c, struct nodeID *neighbour, const void *meta, int meta_size);
14 14
int cache_del(struct peer_cache *c, struct nodeID *neighbour);
15 15

  
16
struct nodeID *rand_peer(struct peer_cache *c);
16
struct nodeID *rand_peer(struct peer_cache *c, void **meta);
17 17

  
18 18
struct peer_cache *entries_undump(const uint8_t *buff, int size);
19 19
int cache_header_dump(uint8_t *b, const struct peer_cache *c);

Also available in: Unified diff