aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/namestore.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-10-25 15:36:32 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-10-25 15:36:32 +0000
commit0b80f1a54fd5efba4bca8dc4269cc0cb8e25d77d (patch)
tree52a514ecf5d7cb4dda055a0a9c5c9ea0d78a8a77 /src/namestore/namestore.h
parent1ef878cfd071e9273ca2f8e11e743cfe6886ac1a (diff)
downloadgnunet-0b80f1a54fd5efba4bca8dc4269cc0cb8e25d77d.tar.gz
gnunet-0b80f1a54fd5efba4bca8dc4269cc0cb8e25d77d.zip
api communication done
Diffstat (limited to 'src/namestore/namestore.h')
-rw-r--r--src/namestore/namestore.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/namestore/namestore.h b/src/namestore/namestore.h
index d633f7393..5e900dbcc 100644
--- a/src/namestore/namestore.h
+++ b/src/namestore/namestore.h
@@ -235,6 +235,47 @@ struct LabelLookupMessage
235}; 235};
236 236
237 237
238/**
239 * Lookup a label
240 */
241struct LabelLookupResponseMessage
242{
243 /**
244 * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_LOOKUP_RESPONSE
245 */
246 struct GNUNET_NAMESTORE_Header gns_header;
247
248 /**
249 * Name length
250 */
251 uint16_t name_len GNUNET_PACKED;
252
253 /**
254 * Length of serialized record data
255 */
256 uint16_t rd_len GNUNET_PACKED;
257
258 /**
259 * Number of records contained
260 */
261 uint16_t rd_count GNUNET_PACKED;
262
263 /**
264 * always zero (for alignment)
265 */
266 uint16_t reserved GNUNET_PACKED;
267
268 /**
269 * The private key of the authority.
270 */
271 struct GNUNET_CRYPTO_EcdsaPrivateKey private_key;
272
273 /* followed by:
274 * name with length name_len
275 * serialized record data with rd_count records
276 */
277};
278
238 279
239 280
240/** 281/**