diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-26 22:02:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-26 22:02:03 +0000 |
commit | 1f6511d450641f20c69f616dbdbbbb1badbbbc5a (patch) | |
tree | ee31851b7eb5de4e6251c2e4a0d488fb886f8b12 /src/dht/gnunet-service-dht_neighbours.h | |
parent | b77a243b51a385d52250d31a285669b7ad3aed20 (diff) | |
download | gnunet-1f6511d450641f20c69f616dbdbbbb1badbbbc5a.tar.gz gnunet-1f6511d450641f20c69f616dbdbbbb1badbbbc5a.zip |
more wild hxing
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.h')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.h b/src/dht/gnunet-service-dht_neighbours.h index 2c20df2c4..70723deac 100644 --- a/src/dht/gnunet-service-dht_neighbours.h +++ b/src/dht/gnunet-service-dht_neighbours.h | |||
@@ -48,8 +48,8 @@ | |||
48 | * @param data_size number of bytes in data | 48 | * @param data_size number of bytes in data |
49 | */ | 49 | */ |
50 | void | 50 | void |
51 | GDS_NEIGHBOURS_handle_put (uint32_t type, | 51 | GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type, |
52 | uint32_t options, | 52 | enum GNUNET_DHT_RouteOption options, |
53 | uint32_t desired_replication_level, | 53 | uint32_t desired_replication_level, |
54 | GNUNET_TIME_Absolute expiration_time, | 54 | GNUNET_TIME_Absolute expiration_time, |
55 | uint32_t hop_count, | 55 | uint32_t hop_count, |
@@ -79,8 +79,8 @@ GDS_NEIGHBOURS_handle_put (uint32_t type, | |||
79 | * @param peer_bf filter for peers not to select (again) | 79 | * @param peer_bf filter for peers not to select (again) |
80 | */ | 80 | */ |
81 | void | 81 | void |
82 | GDS_NEIGHBOURS_handle_get (uint32_t type, | 82 | GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type, |
83 | uint32_t options, | 83 | enum GNUNET_DHT_RouteOption options, |
84 | uint32_t desired_replication_level, | 84 | uint32_t desired_replication_level, |
85 | uint32_t hop_count, | 85 | uint32_t hop_count, |
86 | const GNUNET_HashCode *key, | 86 | const GNUNET_HashCode *key, |
@@ -96,6 +96,7 @@ GDS_NEIGHBOURS_handle_get (uint32_t type, | |||
96 | * other peers waiting for it. Does not do local caching or | 96 | * other peers waiting for it. Does not do local caching or |
97 | * forwarding to local clients. | 97 | * forwarding to local clients. |
98 | * | 98 | * |
99 | * @param target neighbour that should receive the block (if still connected) | ||
99 | * @param type type of the block | 100 | * @param type type of the block |
100 | * @param expiration_time when does the content expire | 101 | * @param expiration_time when does the content expire |
101 | * @param key key for the content | 102 | * @param key key for the content |
@@ -107,7 +108,8 @@ GDS_NEIGHBOURS_handle_get (uint32_t type, | |||
107 | * @param data_size number of bytes in data | 108 | * @param data_size number of bytes in data |
108 | */ | 109 | */ |
109 | void | 110 | void |
110 | GDS_NEIGHBOURS_handle_reply (uint32_t type, | 111 | GDS_NEIGHBOURS_handle_reply (const GNUNET_PeerIdentity *target, |
112 | enum GNUNET_BLOCK_Type type, | ||
111 | GNUNET_TIME_Absolute expiration_time, | 113 | GNUNET_TIME_Absolute expiration_time, |
112 | const GNUNET_HashCode *key, | 114 | const GNUNET_HashCode *key, |
113 | unsigned int put_path_length, | 115 | unsigned int put_path_length, |