diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-04-14 13:03:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-04-14 13:03:32 +0000 |
commit | b639bad2d21950113df49088c686b359979a0189 (patch) | |
tree | f1ea2162f285d560bb2efc6a108029bf673832f4 /src/dht | |
parent | cd82235f77f58bb6fe8ad65e829f55a51a24596f (diff) | |
download | gnunet-b639bad2d21950113df49088c686b359979a0189.tar.gz gnunet-b639bad2d21950113df49088c686b359979a0189.zip |
-comments for surpiti
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/gnunet-service-xdht_neighbours.h | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/src/dht/gnunet-service-xdht_neighbours.h b/src/dht/gnunet-service-xdht_neighbours.h index a1d896bc4..9ca2906ea 100644 --- a/src/dht/gnunet-service-xdht_neighbours.h +++ b/src/dht/gnunet-service-xdht_neighbours.h | |||
@@ -36,11 +36,31 @@ | |||
36 | * Field in trail setup message to understand if the message is sent to an | 36 | * Field in trail setup message to understand if the message is sent to an |
37 | * intermediate finger, friend or me. | 37 | * intermediate finger, friend or me. |
38 | */ | 38 | */ |
39 | enum current_destination_type | 39 | enum current_destination_type /* FIXME: enum GSX_CurrentDestinationType */ |
40 | { | 40 | { |
41 | FRIEND , | 41 | /** |
42 | FINGER , | 42 | * Look in friend AND finger tables for a trail to the key. |
43 | MY_ID , | 43 | */ |
44 | /* FIXME: GSX_CDT_ */ FRIEND, | ||
45 | |||
46 | /** | ||
47 | * Look in the routing table to follow a trail to reach to the | ||
48 | * destination. It is also allowed (but currently not implemented) | ||
49 | * to look into friend/finger tables for a better trail to the key | ||
50 | * and (if one is found) 'abort' the current trail and switch to | ||
51 | * the better one. | ||
52 | */ | ||
53 | FINGER, | ||
54 | |||
55 | /** | ||
56 | * "Returned" if the origin is the closest peer to the destination; | ||
57 | * Must not be passed to "GDS_NEIGHBOURS_handle_put". | ||
58 | */ | ||
59 | MY_ID, | ||
60 | |||
61 | /** | ||
62 | * FIXME. | ||
63 | */ | ||
44 | VALUE | 64 | VALUE |
45 | }; | 65 | }; |
46 | 66 | ||
@@ -179,4 +199,4 @@ struct GNUNET_PeerIdentity * | |||
179 | GDS_NEIGHBOURS_get_id (); | 199 | GDS_NEIGHBOURS_get_id (); |
180 | 200 | ||
181 | 201 | ||
182 | #endif \ No newline at end of file | 202 | #endif |