Revision b3878656 src/Cache/ncast_proto.h

View differences:

src/Cache/ncast_proto.h
3 3

  
4 4
struct ncast_proto_context;
5 5

  
6
struct ncast_proto_context* ncast_proto_init(struct nodeID *s, void *meta, int meta_size);
6
struct ncast_proto_context* ncast_proto_init(struct nodeID *s, const void *meta, int meta_size);
7 7

  
8 8
int ncast_reply(struct ncast_proto_context *context, const struct peer_cache *c, struct peer_cache *local_cache);
9 9
int ncast_query(struct ncast_proto_context *context, struct peer_cache *local_cache);
10 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);
11
int ncast_proto_metadata_update(struct ncast_proto_context *context, const void *meta, int meta_size);
12 12

  
13 13
#endif	/* NCAST_PROTO */

Also available in: Unified diff