Revision e910cf6c src/Cache/cloudcast_proto.h

View differences:

src/Cache/cloudcast_proto.h
6 6

  
7 7
struct cloudcast_proto_context;
8 8

  
9
struct cloudcast_proto_context* cloudcast_proto_init(struct nodeID *s, const void *meta, int meta_size);
9
struct cloudcast_header {
10
  uint64_t last_cloud_contact_sec;
11
};
10 12

  
13
struct cloudcast_proto_context* cloudcast_proto_init(struct nodeID *s, const void *meta, int meta_size);
11 14

  
12
int cloudcast_reply_peer(struct cloudcast_proto_context *context, const struct peer_cache *c, struct peer_cache *local_cache);
13
int cloudcast_query_peer(struct cloudcast_proto_context *context, struct peer_cache *local_cache, struct nodeID *dst);
15
int cloudcast_reply_peer(struct cloudcast_proto_context *context, const struct peer_cache *c, struct peer_cache *local_cache, uint64_t last_cloud_contact_sec);
16
int cloudcast_query_peer(struct cloudcast_proto_context *context, struct peer_cache *local_cache, struct nodeID *dst, uint64_t last_cloud_contact_sec);
14 17

  
15 18
int cloudcast_reply_cloud(struct cloudcast_proto_context *context, struct peer_cache *cloud_cache);
16 19

  

Also available in: Unified diff