Revision 60fa723d src/TopologyManager/blist_cache.h

View differences:

src/TopologyManager/blist_cache.h
1
#ifndef BLIST_CACHE
2
#define BLIST_CACHE
3

  
1 4
struct peer_cache;
2 5
struct cache_entry;
3 6
typedef int (*ranking_function)(const void *target, const void *p1, const void *p2);	// FIXME!
......
24 27
struct peer_cache *blist_cache_rank (const struct peer_cache *c, ranking_function rank, const struct nodeID *target, const void *target_meta);
25 28
struct peer_cache *blist_cache_union(struct peer_cache *c1, struct peer_cache *c2, int *size);
26 29
int blist_cache_resize (struct peer_cache *c, int size);
30

  
31
#endif	/* BLIST_CACHE */

Also available in: Unified diff