diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-26 21:24:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-26 21:24:03 +0000 |
commit | 7b00dd51218edbd9182caa664cfce185edc2cc45 (patch) | |
tree | 2cea8a9d7085aa6e3d16256f18f7c77f3320bb75 /src/dht/gnunet-service-dht_routing.c | |
parent | 60ff113fe4e7bb71d5696063b9a9b81eba60a108 (diff) | |
download | gnunet-7b00dd51218edbd9182caa664cfce185edc2cc45.tar.gz gnunet-7b00dd51218edbd9182caa664cfce185edc2cc45.zip |
porting xdht to new service API, major code de-duplication effort
Diffstat (limited to 'src/dht/gnunet-service-dht_routing.c')
-rw-r--r-- | src/dht/gnunet-service-dht_routing.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/dht/gnunet-service-dht_routing.c b/src/dht/gnunet-service-dht_routing.c index d078c865d..48bece35e 100644 --- a/src/dht/gnunet-service-dht_routing.c +++ b/src/dht/gnunet-service-dht_routing.c | |||
@@ -277,13 +277,16 @@ process (void *cls, const struct GNUNET_HashCode * key, void *value) | |||
277 | * @param data_size number of bytes in data | 277 | * @param data_size number of bytes in data |
278 | */ | 278 | */ |
279 | void | 279 | void |
280 | GDS_ROUTING_process (enum GNUNET_BLOCK_Type type, | 280 | GDS_ROUTING_process (void *cls, |
281 | enum GNUNET_BLOCK_Type type, | ||
281 | struct GNUNET_TIME_Absolute expiration_time, | 282 | struct GNUNET_TIME_Absolute expiration_time, |
282 | const struct GNUNET_HashCode * key, unsigned int put_path_length, | 283 | const struct GNUNET_HashCode *key, |
284 | unsigned int put_path_length, | ||
283 | const struct GNUNET_PeerIdentity *put_path, | 285 | const struct GNUNET_PeerIdentity *put_path, |
284 | unsigned int get_path_length, | 286 | unsigned int get_path_length, |
285 | const struct GNUNET_PeerIdentity *get_path, | 287 | const struct GNUNET_PeerIdentity *get_path, |
286 | const void *data, size_t data_size) | 288 | const void *data, |
289 | size_t data_size) | ||
287 | { | 290 | { |
288 | struct ProcessContext pc; | 291 | struct ProcessContext pc; |
289 | 292 | ||