diff options
Diffstat (limited to 'src/dht/gnunet-service-xdht_routing.h')
-rw-r--r-- | src/dht/gnunet-service-xdht_routing.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/dht/gnunet-service-xdht_routing.h b/src/dht/gnunet-service-xdht_routing.h index 25605dcb4..a6c3281e9 100644 --- a/src/dht/gnunet-service-xdht_routing.h +++ b/src/dht/gnunet-service-xdht_routing.h | |||
@@ -32,33 +32,6 @@ | |||
32 | 32 | ||
33 | 33 | ||
34 | /** | 34 | /** |
35 | * Handle a reply (route to origin). Only forwards the reply back to | ||
36 | * other peers waiting for it. Does not do local caching or | ||
37 | * forwarding to local clients. Essentially calls | ||
38 | * GDS_NEIGHBOURS_handle_reply for all peers that sent us a matching | ||
39 | * request recently. | ||
40 | * | ||
41 | * @param type type of the block | ||
42 | * @param expiration_time when does the content expire | ||
43 | * @param key key for the content | ||
44 | * @param put_path_length number of entries in @a put_path | ||
45 | * @param put_path peers the original PUT traversed (if tracked) | ||
46 | * @param get_path_length number of entries in @a get_path | ||
47 | * @param get_path peers this reply has traversed so far (if tracked) | ||
48 | * @param data payload of the reply | ||
49 | * @param data_size number of bytes in @a data | ||
50 | */ | ||
51 | void | ||
52 | GDS_ROUTING_process (enum GNUNET_BLOCK_Type type, | ||
53 | struct GNUNET_TIME_Absolute expiration_time, | ||
54 | const struct GNUNET_HashCode * key, unsigned int put_path_length, | ||
55 | const struct GNUNET_PeerIdentity *put_path, | ||
56 | unsigned int get_path_length, | ||
57 | const struct GNUNET_PeerIdentity *get_path, | ||
58 | const void *data, size_t data_size); | ||
59 | |||
60 | |||
61 | /** | ||
62 | * Add a new entry to our routing table. | 35 | * Add a new entry to our routing table. |
63 | * | 36 | * |
64 | * @param sender peer that originated the request | 37 | * @param sender peer that originated the request |
@@ -80,6 +53,7 @@ GDS_ROUTING_add (const struct GNUNET_PeerIdentity *sender, | |||
80 | uint32_t reply_bf_mutator); | 53 | uint32_t reply_bf_mutator); |
81 | 54 | ||
82 | 55 | ||
56 | |||
83 | /** | 57 | /** |
84 | * Initialize routing subsystem. | 58 | * Initialize routing subsystem. |
85 | */ | 59 | */ |