diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-02-02 12:45:38 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-02-02 12:45:38 +0000 |
commit | f97b37ccead048afcaf6d9515b695d65f34ddb7e (patch) | |
tree | ef27e4ab6b59ff3f86975bc3a180a412b20a8d51 /src/include/gnunet_dht_service.h | |
parent | 050742cb65bd6d8c3e89bdf505702fe0fdc7e495 (diff) | |
download | gnunet-f97b37ccead048afcaf6d9515b695d65f34ddb7e.tar.gz gnunet-f97b37ccead048afcaf6d9515b695d65f34ddb7e.zip |
api change
Diffstat (limited to 'src/include/gnunet_dht_service.h')
-rw-r--r-- | src/include/gnunet_dht_service.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h index 18eab8a9f..d4b4d9a4c 100644 --- a/src/include/gnunet_dht_service.h +++ b/src/include/gnunet_dht_service.h | |||
@@ -106,7 +106,12 @@ enum GNUNET_DHT_RouteOption | |||
106 | * We should keep track of the route that the message | 106 | * We should keep track of the route that the message |
107 | * took in the P2P network. | 107 | * took in the P2P network. |
108 | */ | 108 | */ |
109 | GNUNET_DHT_RO_RECORD_ROUTE = 2 | 109 | GNUNET_DHT_RO_RECORD_ROUTE = 2, |
110 | |||
111 | /** | ||
112 | * Possible message option for query key randomization. | ||
113 | */ | ||
114 | GNUNET_DHT_RO_BART = 4 | ||
110 | }; | 115 | }; |
111 | 116 | ||
112 | 117 | ||
@@ -290,16 +295,15 @@ GNUNET_DHT_find_peer_stop (struct GNUNET_DHT_FindPeerHandle *find_peer_handle); | |||
290 | * | 295 | * |
291 | * @param cls closure | 296 | * @param cls closure |
292 | * @param key key that was used | 297 | * @param key key that was used |
293 | * @param get_path NULL-terminated array of pointers | 298 | * @param outgoing_path NULL-terminated array of pointers |
294 | * to the peers on reverse GET path (or NULL if not recorded) | 299 | * to the peers on reverse outgoing |
295 | * @param put_path NULL-terminated array of pointers | 300 | * path (or NULL if not recorded) |
296 | * to the peers on the PUT path (or NULL if not recorded) | 301 | * to the peers on the PUT path (or NULL if not recorded) |
297 | * @param reply response | 302 | * @param reply response |
298 | */ | 303 | */ |
299 | typedef void (*GNUNET_DHT_ReplyProcessor)(void *cls, | 304 | typedef void (*GNUNET_DHT_ReplyProcessor)(void *cls, |
300 | const GNUNET_HashCode *key, | 305 | const GNUNET_HashCode *key, |
301 | const struct GNUNET_PeerIdentity * const *get_path, | 306 | const struct GNUNET_PeerIdentity * const *outgoing_path, |
302 | const struct GNUNET_PeerIdentity * const *put_path, | ||
303 | const struct GNUNET_MessageHeader *reply); | 307 | const struct GNUNET_MessageHeader *reply); |
304 | 308 | ||
305 | 309 | ||