From: Nathan S. Evans Date: Wed, 2 Feb 2011 12:45:38 +0000 (+0000) Subject: api change X-Git-Tag: initial-import-from-subversion-38251~19213 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f97b37ccead048afcaf6d9515b695d65f34ddb7e;p=oweals%2Fgnunet.git api change --- 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 * We should keep track of the route that the message * took in the P2P network. */ - GNUNET_DHT_RO_RECORD_ROUTE = 2 + GNUNET_DHT_RO_RECORD_ROUTE = 2, + + /** + * Possible message option for query key randomization. + */ + GNUNET_DHT_RO_BART = 4 }; @@ -290,16 +295,15 @@ GNUNET_DHT_find_peer_stop (struct GNUNET_DHT_FindPeerHandle *find_peer_handle); * * @param cls closure * @param key key that was used - * @param get_path NULL-terminated array of pointers - * to the peers on reverse GET path (or NULL if not recorded) - * @param put_path NULL-terminated array of pointers + * @param outgoing_path NULL-terminated array of pointers + * to the peers on reverse outgoing + * path (or NULL if not recorded) * to the peers on the PUT path (or NULL if not recorded) * @param reply response */ typedef void (*GNUNET_DHT_ReplyProcessor)(void *cls, const GNUNET_HashCode *key, - const struct GNUNET_PeerIdentity * const *get_path, - const struct GNUNET_PeerIdentity * const *put_path, + const struct GNUNET_PeerIdentity * const *outgoing_path, const struct GNUNET_MessageHeader *reply);