aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/namestore.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-10-25 12:59:41 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-10-25 12:59:41 +0000
commit64a061d90ded1dc913e3c8186dba11bfca9aff9e (patch)
treef55dc91c945f33817fd8649d408ab757dc229cdb /src/namestore/namestore.h
parentb596994ef30cb2b2b797654108ddcca331245da0 (diff)
downloadgnunet-64a061d90ded1dc913e3c8186dba11bfca9aff9e.tar.gz
gnunet-64a061d90ded1dc913e3c8186dba11bfca9aff9e.zip
- clean protocol number
- added lookup protocol numbers - implemented lookup sending
Diffstat (limited to 'src/namestore/namestore.h')
-rw-r--r--src/namestore/namestore.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/namestore/namestore.h b/src/namestore/namestore.h
index bd0cf82cc..d633f7393 100644
--- a/src/namestore/namestore.h
+++ b/src/namestore/namestore.h
@@ -215,19 +215,19 @@ struct RecordStoreResponseMessage
215struct LabelLookupMessage 215struct LabelLookupMessage
216{ 216{
217 /** 217 /**
218 * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_LABEL_LOOKUP 218 * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_LOOKUP
219 */ 219 */
220 struct GNUNET_NAMESTORE_Header gns_header; 220 struct GNUNET_NAMESTORE_Header gns_header;
221 221
222 /** 222 /**
223 * The private key of the zone to look up in 223 * Length of the name
224 */ 224 */
225 struct GNUNET_CRYPTO_EcdsaPrivateKey zone; 225 uint32_t label_len GNUNET_PACKED;
226 226
227 /** 227 /**
228 * Length of the name 228 * The private key of the zone to look up in
229 */ 229 */
230 uint16_t label_len GNUNET_PACKED; 230 struct GNUNET_CRYPTO_EcdsaPrivateKey zone;
231 231
232 /* followed by: 232 /* followed by:
233 * name with length name_len 233 * name with length name_len