diff options
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.h')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.h b/src/dht/gnunet-service-dht_neighbours.h index 6eac593a0..1c0b24c1b 100644 --- a/src/dht/gnunet-service-dht_neighbours.h +++ b/src/dht/gnunet-service-dht_neighbours.h | |||
@@ -49,8 +49,9 @@ | |||
49 | * @param put_path peers this request has traversed so far (if tracked) | 49 | * @param put_path peers this request has traversed so far (if tracked) |
50 | * @param data payload to store | 50 | * @param data payload to store |
51 | * @param data_size number of bytes in data | 51 | * @param data_size number of bytes in data |
52 | * @return #GNUNET_OK if the request was forwarded, #GNUNET_NO if not | ||
52 | */ | 53 | */ |
53 | void | 54 | int |
54 | GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type, | 55 | GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type, |
55 | enum GNUNET_DHT_RouteOption options, | 56 | enum GNUNET_DHT_RouteOption options, |
56 | uint32_t desired_replication_level, | 57 | uint32_t desired_replication_level, |
@@ -79,8 +80,9 @@ GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type, | |||
79 | * @param reply_bf bloomfilter to filter duplicates | 80 | * @param reply_bf bloomfilter to filter duplicates |
80 | * @param reply_bf_mutator mutator for @a reply_bf | 81 | * @param reply_bf_mutator mutator for @a reply_bf |
81 | * @param peer_bf filter for peers not to select (again, updated) | 82 | * @param peer_bf filter for peers not to select (again, updated) |
83 | * @return #GNUNET_OK if the request was forwarded, #GNUNET_NO if not | ||
82 | */ | 84 | */ |
83 | void | 85 | int |
84 | GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type, | 86 | GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type, |
85 | enum GNUNET_DHT_RouteOption options, | 87 | enum GNUNET_DHT_RouteOption options, |
86 | uint32_t desired_replication_level, | 88 | uint32_t desired_replication_level, |