api change
authorNathan S. Evans <evans@in.tum.de>
Wed, 2 Feb 2011 12:45:38 +0000 (12:45 +0000)
committerNathan S. Evans <evans@in.tum.de>
Wed, 2 Feb 2011 12:45:38 +0000 (12:45 +0000)
src/include/gnunet_dht_service.h

index 18eab8a9f28ff90c815ada48a516cbfa3ad364d5..d4b4d9a4c74d5036554968affda7c79fd744a798 100644 (file)
@@ -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);