Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (596 Bytes)

1 60fa723d Luca Abeni
#ifndef NCAST_PROTO
2
#define NCAST_PROTO
3
4 f3ab0d6d Andrea Zito
struct ncast_proto_context;
5
6
struct ncast_proto_context* ncast_proto_init(struct nodeID *s, void *meta, int meta_size);
7
8
int ncast_reply(struct ncast_proto_context *context, const struct peer_cache *c, struct peer_cache *local_cache);
9
int ncast_query(struct ncast_proto_context *context, struct peer_cache *local_cache);
10
int ncast_query_peer(struct ncast_proto_context *context, struct peer_cache *local_cache, struct nodeID *dst);
11
int ncast_proto_metadata_update(struct ncast_proto_context *context, void *meta, int meta_size);
12 60fa723d Luca Abeni
13
#endif        /* NCAST_PROTO */