diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-16 18:30:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-16 18:30:18 +0000 |
commit | 18805673bf25fb6924280a54754e240a1402f46f (patch) | |
tree | 8a523653413aa3f9229c3b570d0eb7b0c1d34b79 /src/gns/gns.h | |
parent | 62eb73513d8f8099319c07a0486263b572095460 (diff) | |
download | gnunet-18805673bf25fb6924280a54754e240a1402f46f.tar.gz gnunet-18805673bf25fb6924280a54754e240a1402f46f.zip |
-comments
Diffstat (limited to 'src/gns/gns.h')
-rw-r--r-- | src/gns/gns.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gns/gns.h b/src/gns/gns.h index e35df7858..695722b78 100644 --- a/src/gns/gns.h +++ b/src/gns/gns.h | |||
@@ -42,15 +42,18 @@ struct GNUNET_GNS_ClientLookupMessage | |||
42 | /** | 42 | /** |
43 | * Unique identifier for this request (for key collisions). | 43 | * Unique identifier for this request (for key collisions). |
44 | */ | 44 | */ |
45 | // FIXME: unaligned | ||
45 | uint64_t unique_id; | 46 | uint64_t unique_id; |
46 | 47 | ||
47 | /** | 48 | /** |
48 | * the type of record to look up | 49 | * the type of record to look up |
49 | */ | 50 | */ |
51 | // FIXME: bad type | ||
50 | int type; | 52 | int type; |
51 | 53 | ||
52 | /** | 54 | /** |
53 | * Length of name to lookup | 55 | * Length of name to lookup |
56 | * // FIXME: redundant | ||
54 | */ | 57 | */ |
55 | uint32_t namelen; | 58 | uint32_t namelen; |
56 | 59 | ||
@@ -71,18 +74,21 @@ struct GNUNET_GNS_ClientResultMessage | |||
71 | /** | 74 | /** |
72 | * Unique identifier for this request (for key collisions). | 75 | * Unique identifier for this request (for key collisions). |
73 | */ | 76 | */ |
77 | // FIXME: unaligned | ||
74 | uint64_t unique_id; | 78 | uint64_t unique_id; |
75 | 79 | ||
76 | /** | 80 | /** |
77 | * A key. TODO some uid | 81 | * A key. TODO some uid |
82 | * // FIXME: why hash? | ||
78 | */ | 83 | */ |
79 | GNUNET_HashCode key; | 84 | GNUNET_HashCode key; |
80 | 85 | ||
81 | /** | 86 | /** |
82 | * The number of records contained in response | 87 | * The number of records contained in response |
83 | */ | 88 | */ |
84 | uint32_t num_records; | 89 | uint32_t num_records; |
85 | 90 | ||
91 | // FIXME: what format has a GNS_Record? | ||
86 | /* followed by num_records GNUNET_GNS_Records*/ | 92 | /* followed by num_records GNUNET_GNS_Records*/ |
87 | 93 | ||
88 | }; | 94 | }; |