aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-xdht_neighbours.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht/gnunet-service-xdht_neighbours.h')
-rw-r--r--src/dht/gnunet-service-xdht_neighbours.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/dht/gnunet-service-xdht_neighbours.h b/src/dht/gnunet-service-xdht_neighbours.h
index da5629ffb..8e0fce225 100644
--- a/src/dht/gnunet-service-xdht_neighbours.h
+++ b/src/dht/gnunet-service-xdht_neighbours.h
@@ -68,12 +68,12 @@ GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type,
68 uint32_t desired_replication_level, 68 uint32_t desired_replication_level,
69 struct GNUNET_TIME_Absolute expiration_time, 69 struct GNUNET_TIME_Absolute expiration_time,
70 uint32_t hop_count, 70 uint32_t hop_count,
71 struct GNUNET_HashCode * key, 71 const struct GNUNET_HashCode * key,
72 unsigned int put_path_length, 72 unsigned int put_path_length,
73 struct GNUNET_PeerIdentity *put_path, 73 struct GNUNET_PeerIdentity *put_path,
74 const void *data, size_t data_size, 74 const void *data, size_t data_size,
75 struct GNUNET_PeerIdentity *current_destination, 75 struct GNUNET_PeerIdentity *current_destination,
76 enum current_destination_type *dest_type, 76 enum current_destination_type dest_type,
77 struct GNUNET_PeerIdentity *target_peer_id); 77 struct GNUNET_PeerIdentity *target_peer_id);
78 78
79 79
@@ -94,18 +94,25 @@ GDS_NEIGHBOURS_handle_get (struct GNUNET_PeerIdentity *source_peer,
94 enum current_destination_type *type); 94 enum current_destination_type *type);
95 95
96/** 96/**
97 * 97 * Send get result back to requesting client.
98 * @param source_peer 98 * @param source_peer
99 * @param get_path 99 * @param get_path
100 * @param get_path_length 100 * @param get_path_length
101 * @param key
101 * @param destination_peer 102 * @param destination_peer
103 * @param current_path_index
104 * @param data
105 * @param data_size
102 */ 106 */
103void 107void
104GDS_NEIGHBOURS_send_get_result (struct GNUNET_PeerIdentity *source_peer, 108GDS_NEIGHBOURS_send_get_result (struct GNUNET_PeerIdentity *source_peer,
105 struct GNUNET_PeerIdentity *get_path, 109 struct GNUNET_PeerIdentity *get_path,
106 unsigned int get_path_length, 110 unsigned int get_path_length,
111 struct GNUNET_HashCode *key,
107 struct GNUNET_PeerIdentity *destination_peer, 112 struct GNUNET_PeerIdentity *destination_peer,
108 unsigned int current_path_index); 113 unsigned int current_path_index,
114 const void *data, size_t data_size,
115 struct GNUNET_PeerIdentity *next_peer);
109 116
110 117
111/** 118/**