aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/namestore.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-10-18 15:37:21 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-10-18 15:37:21 +0000
commitf38103524a5e65207ae029f7de0b880c6072e19f (patch)
treed936f5751dfd730bd1f0a8c0b9b32fe79cb20330 /src/namestore/namestore.h
parente7d3bc3354b7d3cba8a9482afc742e1ffe342afe (diff)
downloadgnunet-f38103524a5e65207ae029f7de0b880c6072e19f.tar.gz
gnunet-f38103524a5e65207ae029f7de0b880c6072e19f.zip
implementing api call
Diffstat (limited to 'src/namestore/namestore.h')
-rw-r--r--src/namestore/namestore.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/namestore/namestore.h b/src/namestore/namestore.h
index 4350dbab4..761360c47 100644
--- a/src/namestore/namestore.h
+++ b/src/namestore/namestore.h
@@ -209,6 +209,33 @@ struct RecordStoreResponseMessage
209}; 209};
210 210
211 211
212/**
213 * Lookup a label
214 */
215struct LabelLookupMessage
216{
217 /**
218 * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_LABEL_LOOKUP
219 */
220 struct GNUNET_NAMESTORE_Header gns_header;
221
222 /**
223 * The private key of the zone to look up in
224 */
225 struct GNUNET_CRYPTO_EcdsaPrivateKey zone;
226
227 /**
228 * Length of the name
229 */
230 uint16_t label_len GNUNET_PACKED;
231
232 /* followed by:
233 * name with length name_len
234 */
235};
236
237
238
212 239
213/** 240/**
214 * Lookup a name for a zone hash 241 * Lookup a name for a zone hash