Revision 18d83f26 som/TopologyManager/topocache.h
som/TopologyManager/topocache.h | ||
---|---|---|
2 | 2 |
struct cache_entry; |
3 | 3 |
typedef int (*ranking_function)(const void *target, const void *p1, const void *p2); // FIXME! |
4 | 4 |
|
5 |
struct peer_cache *cache_init(int n, int metadata_size); |
|
5 |
struct peer_cache *cache_init(int n, int metadata_size, int max_timestamp);
|
|
6 | 6 |
void cache_free(struct peer_cache *c); |
7 | 7 |
void cache_update(struct peer_cache *c); |
8 | 8 |
void cache_update_tout(struct peer_cache *c); |
Also available in: Unified diff