Statistics
| Branch: | Revision:

grapes / src / TopologyManager / topo_proto.h @ 5033613a

History | View | Annotate | Download (562 Bytes)

1 60fa723d Luca Abeni
#ifndef TOPO_PROTO
2
#define TOPO_PROTO
3
4 f3ab0d6d Andrea Zito
struct topo_context;
5 477826d1 Luca Abeni
6 f3ab0d6d Andrea Zito
int topo_reply(struct topo_context *context, const struct peer_cache *c, struct peer_cache *local_cache, int protocol, int type, int max_peers, int include_me);
7
int topo_query_peer(struct topo_context *context, struct peer_cache *local_cache, struct nodeID *dst, int protocol, int type, int max_peers);
8
9
int topo_proto_metadata_update(struct topo_context *context, void *meta, int meta_size);
10
struct topo_context* topo_proto_init(struct nodeID *s, void *meta, int meta_size);
11 60fa723d Luca Abeni
12
#endif        /* TOPO_PROTO */