aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_dht_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-10-04 08:25:28 +0000
committerChristian Grothoff <christian@grothoff.org>2010-10-04 08:25:28 +0000
commita82188f859826f98b209f265531d1fa63f2b6ae2 (patch)
tree260054d6fa6e71341e2feec387a1ef09988e7a60 /src/include/gnunet_dht_service.h
parent6c5be1e49eaeca44de6ec6e2e6ec2e91947a0752 (diff)
downloadgnunet-a82188f859826f98b209f265531d1fa63f2b6ae2.tar.gz
gnunet-a82188f859826f98b209f265531d1fa63f2b6ae2.zip
passing bf and xquery from client to service
Diffstat (limited to 'src/include/gnunet_dht_service.h')
-rw-r--r--src/include/gnunet_dht_service.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h
index 00d9851b9..9ad4cc809 100644
--- a/src/include/gnunet_dht_service.h
+++ b/src/include/gnunet_dht_service.h
@@ -41,6 +41,12 @@ extern "C"
41 41
42 42
43/** 43/**
44 * K-value that must be used for the bloom filter 'GET'
45 * queries.
46 */
47#define GNUNET_DHT_GET_BLOOMFILTER_K 16
48
49/**
44 * Connection to the DHT service. 50 * Connection to the DHT service.
45 */ 51 */
46struct GNUNET_DHT_Handle; 52struct GNUNET_DHT_Handle;
@@ -260,10 +266,16 @@ GNUNET_DHT_find_peer_stop (struct GNUNET_DHT_FindPeerHandle *find_peer_handle);
260 * 266 *
261 * @param cls closure 267 * @param cls closure
262 * @param key key that was used 268 * @param key key that was used
269 * @param get_path NULL-terminated array of pointers
270 * to the peers on reverse GET path (or NULL if not recorded)
271 * @param put_path NULL-terminated array of pointers
272 * to the peers on the PUT path (or NULL if not recorded)
263 * @param reply response 273 * @param reply response
264 */ 274 */
265typedef void (*GNUNET_DHT_ReplyProcessor)(void *cls, 275typedef void (*GNUNET_DHT_ReplyProcessor)(void *cls,
266 const GNUNET_HashCode *key, 276 const GNUNET_HashCode *key,
277 const struct GNUNET_PeerIdentity * const *get_path,
278 const struct GNUNET_PeerIdentity * const *put_path,
267 const struct GNUNET_MessageHeader *reply); 279 const struct GNUNET_MessageHeader *reply);
268 280
269 281