Revision f3ab0d6d src/TopologyManager/cyclon_proto.h

View differences:

src/TopologyManager/cyclon_proto.h
1 1
#ifndef CYCLON_PROTO
2 2
#define CYCLON_PROTO
3 3

  
4
int cyclon_reply(const struct peer_cache *c, struct peer_cache *local_cache);
5
int cyclon_query(struct peer_cache *local_cache, struct nodeID *dst);
4
struct cyclon_proto_context;
6 5

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

  
8

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

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

Also available in: Unified diff