Revision f3ab0d6d src/TopologyManager/ncast_proto.h

View differences:

src/TopologyManager/ncast_proto.h
1 1
#ifndef NCAST_PROTO
2 2
#define NCAST_PROTO
3 3

  
4
int ncast_reply(const struct peer_cache *c, struct peer_cache *local_cache);
5
int ncast_query(struct peer_cache *local_cache);
6
int ncast_query_peer(struct peer_cache *local_cache, struct nodeID *dst);
4
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);
7 12

  
8 13
#endif	/* NCAST_PROTO */

Also available in: Unified diff