Revision b3878656 src/Cache/ncast_proto.c

View differences:

src/Cache/ncast_proto.c
19 19
  struct topo_context *context;
20 20
};
21 21

  
22
struct ncast_proto_context* ncast_proto_init(struct nodeID *s, void *meta, int meta_size)
22
struct ncast_proto_context* ncast_proto_init(struct nodeID *s, const void *meta, int meta_size)
23 23
{
24 24
  struct ncast_proto_context *con;
25 25
  con = malloc(sizeof(struct ncast_proto_context));
......
56 56
  return topo_query_peer(context->context, local_cache, dst, MSG_TYPE_TOPOLOGY, NCAST_QUERY, 0);
57 57
}
58 58

  
59
int ncast_proto_metadata_update(struct ncast_proto_context *context, void *meta, int meta_size){
59
int ncast_proto_metadata_update(struct ncast_proto_context *context, const void *meta, int meta_size){
60 60
  return topo_proto_metadata_update(context->context, meta, meta_size);
61 61
}

Also available in: Unified diff