aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht_routing.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-26 21:24:03 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-26 21:24:03 +0000
commit7b00dd51218edbd9182caa664cfce185edc2cc45 (patch)
tree2cea8a9d7085aa6e3d16256f18f7c77f3320bb75 /src/dht/gnunet-service-dht_routing.h
parent60ff113fe4e7bb71d5696063b9a9b81eba60a108 (diff)
downloadgnunet-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.h')
-rw-r--r--src/dht/gnunet-service-dht_routing.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/dht/gnunet-service-dht_routing.h b/src/dht/gnunet-service-dht_routing.h
index 1b163c25b..7c57361dc 100644
--- a/src/dht/gnunet-service-dht_routing.h
+++ b/src/dht/gnunet-service-dht_routing.h
@@ -38,6 +38,7 @@
38 * GDS_NEIGHBOURS_handle_reply for all peers that sent us a matching 38 * GDS_NEIGHBOURS_handle_reply for all peers that sent us a matching
39 * request recently. 39 * request recently.
40 * 40 *
41 * @param cls closure
41 * @param type type of the block 42 * @param type type of the block
42 * @param expiration_time when does the content expire 43 * @param expiration_time when does the content expire
43 * @param key key for the content 44 * @param key key for the content
@@ -49,13 +50,16 @@
49 * @param data_size number of bytes in @a data 50 * @param data_size number of bytes in @a data
50 */ 51 */
51void 52void
52GDS_ROUTING_process (enum GNUNET_BLOCK_Type type, 53GDS_ROUTING_process (void *cls,
54 enum GNUNET_BLOCK_Type type,
53 struct GNUNET_TIME_Absolute expiration_time, 55 struct GNUNET_TIME_Absolute expiration_time,
54 const struct GNUNET_HashCode * key, unsigned int put_path_length, 56 const struct GNUNET_HashCode *key,
57 unsigned int put_path_length,
55 const struct GNUNET_PeerIdentity *put_path, 58 const struct GNUNET_PeerIdentity *put_path,
56 unsigned int get_path_length, 59 unsigned int get_path_length,
57 const struct GNUNET_PeerIdentity *get_path, 60 const struct GNUNET_PeerIdentity *get_path,
58 const void *data, size_t data_size); 61 const void *data,
62 size_t data_size);
59 63
60 64
61/** 65/**