Statistics
| Branch: | Revision:

grapes / src / TopologyManager / topo_proto.h @ 60fa723d

History | View | Annotate | Download (433 Bytes)

1
#ifndef TOPO_PROTO
2
#define TOPO_PROTO
3

    
4
int topo_reply(const struct peer_cache *c, struct peer_cache *local_cache, int protocol, int type, int max_peers, int include_me);
5
int topo_query_peer(struct peer_cache *local_cache, struct nodeID *dst, int protocol, int type, int max_peers);
6

    
7
int topo_proto_metadata_update(void *meta, int meta_size);
8
int topo_proto_init(struct nodeID *s, void *meta, int meta_size);
9

    
10
#endif        /* TOPO_PROTO */