diff options
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.h')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.h | 52 |
1 files changed, 24 insertions, 28 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.h b/src/dht/gnunet-service-dht_neighbours.h index d23ea10ab..b6e0f0ec0 100644 --- a/src/dht/gnunet-service-dht_neighbours.h +++ b/src/dht/gnunet-service-dht_neighbours.h | |||
@@ -52,16 +52,15 @@ | |||
52 | */ | 52 | */ |
53 | void | 53 | void |
54 | GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type, | 54 | GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type, |
55 | enum GNUNET_DHT_RouteOption options, | 55 | enum GNUNET_DHT_RouteOption options, |
56 | uint32_t desired_replication_level, | 56 | uint32_t desired_replication_level, |
57 | struct GNUNET_TIME_Absolute expiration_time, | 57 | struct GNUNET_TIME_Absolute expiration_time, |
58 | uint32_t hop_count, | 58 | uint32_t hop_count, |
59 | struct GNUNET_CONTAINER_BloomFilter *bf, | 59 | struct GNUNET_CONTAINER_BloomFilter *bf, |
60 | const GNUNET_HashCode *key, | 60 | const GNUNET_HashCode * key, |
61 | unsigned int put_path_length, | 61 | unsigned int put_path_length, |
62 | struct GNUNET_PeerIdentity *put_path, | 62 | struct GNUNET_PeerIdentity *put_path, |
63 | const void *data, | 63 | const void *data, size_t data_size); |
64 | size_t data_size); | ||
65 | 64 | ||
66 | 65 | ||
67 | /** | 66 | /** |
@@ -83,15 +82,13 @@ GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type, | |||
83 | */ | 82 | */ |
84 | void | 83 | void |
85 | GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type, | 84 | GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type, |
86 | enum GNUNET_DHT_RouteOption options, | 85 | enum GNUNET_DHT_RouteOption options, |
87 | uint32_t desired_replication_level, | 86 | uint32_t desired_replication_level, |
88 | uint32_t hop_count, | 87 | uint32_t hop_count, const GNUNET_HashCode * key, |
89 | const GNUNET_HashCode *key, | 88 | const void *xquery, size_t xquery_size, |
90 | const void *xquery, | 89 | const struct GNUNET_CONTAINER_BloomFilter *reply_bf, |
91 | size_t xquery_size, | 90 | uint32_t reply_bf_mutator, |
92 | const struct GNUNET_CONTAINER_BloomFilter *reply_bf, | 91 | struct GNUNET_CONTAINER_BloomFilter *peer_bf); |
93 | uint32_t reply_bf_mutator, | ||
94 | struct GNUNET_CONTAINER_BloomFilter *peer_bf); | ||
95 | 92 | ||
96 | 93 | ||
97 | /** | 94 | /** |
@@ -112,15 +109,14 @@ GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type, | |||
112 | */ | 109 | */ |
113 | void | 110 | void |
114 | GDS_NEIGHBOURS_handle_reply (const struct GNUNET_PeerIdentity *target, | 111 | GDS_NEIGHBOURS_handle_reply (const struct GNUNET_PeerIdentity *target, |
115 | enum GNUNET_BLOCK_Type type, | 112 | enum GNUNET_BLOCK_Type type, |
116 | struct GNUNET_TIME_Absolute expiration_time, | 113 | struct GNUNET_TIME_Absolute expiration_time, |
117 | const GNUNET_HashCode *key, | 114 | const GNUNET_HashCode * key, |
118 | unsigned int put_path_length, | 115 | unsigned int put_path_length, |
119 | const struct GNUNET_PeerIdentity *put_path, | 116 | const struct GNUNET_PeerIdentity *put_path, |
120 | unsigned int get_path_length, | 117 | unsigned int get_path_length, |
121 | const struct GNUNET_PeerIdentity *get_path, | 118 | const struct GNUNET_PeerIdentity *get_path, |
122 | const void *data, | 119 | const void *data, size_t data_size); |
123 | size_t data_size); | ||
124 | 120 | ||
125 | 121 | ||
126 | /** | 122 | /** |