diff options
Diffstat (limited to 'src/gns/gns.h')
-rw-r--r-- | src/gns/gns.h | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/src/gns/gns.h b/src/gns/gns.h index 686729dd7..e34d0a086 100644 --- a/src/gns/gns.h +++ b/src/gns/gns.h | |||
@@ -63,25 +63,22 @@ struct GNUNET_GNS_ClientLookupMessage | |||
63 | uint32_t use_default_zone GNUNET_PACKED; | 63 | uint32_t use_default_zone GNUNET_PACKED; |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * If use_default_zone is empty this zone is used for lookup | 66 | * Is a shorten key attached? |
67 | */ | 67 | */ |
68 | struct GNUNET_CRYPTO_ShortHashCode zone; | 68 | uint32_t have_key GNUNET_PACKED; |
69 | 69 | ||
70 | /** | 70 | /** |
71 | * Should we use a shorten zone? | 71 | * If use_default_zone is empty this zone is used for lookup |
72 | */ | ||
73 | uint32_t use_shorten_zone GNUNET_PACKED; | ||
74 | |||
75 | /** | ||
76 | * If use_shorten_zone is set use this zone for shortening | ||
77 | */ | 72 | */ |
78 | struct GNUNET_CRYPTO_ShortHashCode shorten_zone; | 73 | struct GNUNET_CRYPTO_ShortHashCode zone; |
79 | 74 | ||
80 | /** | 75 | /** |
81 | * the type of record to look up | 76 | * the type of record to look up |
82 | */ | 77 | */ |
83 | enum GNUNET_GNS_RecordType type; | 78 | enum GNUNET_GNS_RecordType type; |
84 | 79 | ||
80 | /* Followed by the key for shorten (optional) see have_key */ | ||
81 | |||
85 | /* Followed by the name to look up */ | 82 | /* Followed by the name to look up */ |
86 | }; | 83 | }; |
87 | 84 | ||
@@ -136,16 +133,6 @@ struct GNUNET_GNS_ClientShortenMessage | |||
136 | */ | 133 | */ |
137 | struct GNUNET_CRYPTO_ShortHashCode zone; | 134 | struct GNUNET_CRYPTO_ShortHashCode zone; |
138 | 135 | ||
139 | /** | ||
140 | * Should we use a shorten zone? | ||
141 | */ | ||
142 | uint32_t use_shorten_zone GNUNET_PACKED; | ||
143 | |||
144 | /** | ||
145 | * If use_shorten_zone is set use this zone for shortening | ||
146 | */ | ||
147 | struct GNUNET_CRYPTO_ShortHashCode shorten_zone; | ||
148 | |||
149 | /* Followed by the name to shorten up */ | 136 | /* Followed by the name to shorten up */ |
150 | }; | 137 | }; |
151 | 138 | ||