Revision b3878656 src/Cache/cyclon_proto.h

View differences:

src/Cache/cyclon_proto.h
3 3

  
4 4
struct cyclon_proto_context;
5 5

  
6
struct cyclon_proto_context* cyclon_proto_init(struct nodeID *s, void *meta, int meta_size);
6
struct cyclon_proto_context* cyclon_proto_init(struct nodeID *s, const void *meta, int meta_size);
7 7

  
8 8

  
9 9
int cyclon_reply(struct cyclon_proto_context *context, const struct peer_cache *c, struct peer_cache *local_cache);
10 10
int cyclon_query(struct cyclon_proto_context *context, struct peer_cache *local_cache, struct nodeID *dst);
11 11

  
12
int cyclon_proto_change_metadata(struct cyclon_proto_context *context, void *metadata, int metadata_size);
12
int cyclon_proto_change_metadata(struct cyclon_proto_context *context, const void *metadata, int metadata_size);
13 13
#endif	/* CYCLON_PROTO */

Also available in: Unified diff