Revision b3878656 src/Cache/topocache.c

View differences:

src/Cache/topocache.c
71 71
  return c->metadata;
72 72
}
73 73

  
74
int cache_metadata_update(struct peer_cache *c, struct nodeID *p, const void *meta, int meta_size)
74
int cache_metadata_update(struct peer_cache *c, const struct nodeID *p, const void *meta, int meta_size)
75 75
{
76 76
  int i;
77 77

  
......
135 135
  return cache_add_ranked(c, neighbour, meta, meta_size, NULL, NULL);
136 136
}
137 137

  
138
int cache_del(struct peer_cache *c, struct nodeID *neighbour)
138
int cache_del(struct peer_cache *c, const struct nodeID *neighbour)
139 139
{
140 140
  int i;
141 141
  int found = 0;

Also available in: Unified diff