diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-04-30 09:32:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-04-30 09:32:23 +0000 |
commit | e9b8cd447a2f21f48414e94c8e9ad38b9f78b9b0 (patch) | |
tree | 8f078ed8311ff6b53d8605aedf0445d83c6318ca /src/dht/gnunet-service-wdht_neighbours.h | |
parent | 1e2d6a79ff39e54c2a1a73432e26e02c77775726 (diff) | |
download | gnunet-e9b8cd447a2f21f48414e94c8e9ad38b9f78b9b0.tar.gz gnunet-e9b8cd447a2f21f48414e94c8e9ad38b9f78b9b0.zip |
-more datacache integration work
Diffstat (limited to 'src/dht/gnunet-service-wdht_neighbours.h')
-rw-r--r-- | src/dht/gnunet-service-wdht_neighbours.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/dht/gnunet-service-wdht_neighbours.h b/src/dht/gnunet-service-wdht_neighbours.h index a46c63c48..4dba04da2 100644 --- a/src/dht/gnunet-service-wdht_neighbours.h +++ b/src/dht/gnunet-service-wdht_neighbours.h | |||
@@ -71,27 +71,21 @@ GDS_NEIGHBOURS_handle_get (const struct GNUNET_HashCode *key, | |||
71 | /** | 71 | /** |
72 | * Send the get result to requesting client. | 72 | * Send the get result to requesting client. |
73 | * | 73 | * |
74 | * @param trail_id trail identifying where to send the result to, NULL for us | ||
74 | * @param key Key of the requested data. | 75 | * @param key Key of the requested data. |
75 | * @param type Block type | 76 | * @param type Block type |
76 | * @param target_peer Next peer to forward the message to. | ||
77 | * @param source_peer Peer which has the data for the key. | ||
78 | * @param put_path_length Number of peers in @a put_path | 77 | * @param put_path_length Number of peers in @a put_path |
79 | * @param put_path Path taken to put the data at its stored location. | 78 | * @param put_path Path taken to put the data at its stored location. |
80 | * @param get_path_length Number of peers in @a get_path | ||
81 | * @param get_path Path taken to reach to the location of the key. | ||
82 | * @param expiration When will this result expire? | 79 | * @param expiration When will this result expire? |
83 | * @param data Payload to store | 80 | * @param data Payload to store |
84 | * @param data_size Size of the @a data | 81 | * @param data_size Size of the @a data |
85 | */ | 82 | */ |
86 | void | 83 | void |
87 | GDS_NEIGHBOURS_send_get_result (const struct GNUNET_HashCode *key, | 84 | GDS_NEIGHBOURS_send_get_result (const struct GNUNET_HashCode *trail_id, |
85 | const struct GNUNET_HashCode *key, | ||
88 | enum GNUNET_BLOCK_Type type, | 86 | enum GNUNET_BLOCK_Type type, |
89 | const struct GNUNET_PeerIdentity *target_peer, | ||
90 | const struct GNUNET_PeerIdentity *source_peer, | ||
91 | unsigned int put_path_length, | 87 | unsigned int put_path_length, |
92 | const struct GNUNET_PeerIdentity *put_path, | 88 | const struct GNUNET_PeerIdentity *put_path, |
93 | unsigned int get_path_length, | ||
94 | const struct GNUNET_PeerIdentity *get_path, | ||
95 | struct GNUNET_TIME_Absolute expiration, | 89 | struct GNUNET_TIME_Absolute expiration, |
96 | const void *data, size_t data_size); | 90 | const void *data, size_t data_size); |
97 | 91 | ||