diff options
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 2 | ||||
-rw-r--r-- | src/namestore/namestore.h | 93 |
2 files changed, 1 insertions, 94 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index 3332ffcc62..0fce443c75 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c @@ -1022,7 +1022,7 @@ enum ZoneIterationResult /** * Context for record remove operations passed from - * #run_zone_iteration_round to #zone_iteraterate_proc as closure + * #run_zone_iteration_round to #zone_iterate_proc as closure */ struct ZoneIterationProcResult { diff --git a/src/namestore/namestore.h b/src/namestore/namestore.h index 5e900dbcc3..f403d589c1 100644 --- a/src/namestore/namestore.h +++ b/src/namestore/namestore.h @@ -53,99 +53,6 @@ struct GNUNET_NAMESTORE_Header /** - * Lookup a block in the namestore - */ -struct LookupBlockMessage -{ - /** - * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_LOOKUP_BLOCK - */ - struct GNUNET_NAMESTORE_Header gns_header; - - /** - * The query. - */ - struct GNUNET_HashCode query GNUNET_PACKED; - -}; - - -/** - * Lookup response - */ -struct LookupBlockResponseMessage -{ - /** - * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_LOOKUP_BLOCK_RESPONSE - */ - struct GNUNET_NAMESTORE_Header gns_header; - - /** - * Expiration time - */ - struct GNUNET_TIME_AbsoluteNBO expire; - - /** - * Signature. - */ - struct GNUNET_CRYPTO_EcdsaSignature signature; - - /** - * Derived public key. - */ - struct GNUNET_CRYPTO_EcdsaPublicKey derived_key; - - /* followed by encrypted block data */ -}; - - -/** - * Cache a record in the namestore. - */ -struct BlockCacheMessage -{ - /** - * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_BLOCK_CACHE - */ - struct GNUNET_NAMESTORE_Header gns_header; - - /** - * Expiration time - */ - struct GNUNET_TIME_AbsoluteNBO expire; - - /** - * Signature. - */ - struct GNUNET_CRYPTO_EcdsaSignature signature; - - /** - * Derived public key. - */ - struct GNUNET_CRYPTO_EcdsaPublicKey derived_key; - - /* follwed by encrypted block data */ -}; - - -/** - * Response to a request to cache a block. - */ -struct BlockCacheResponseMessage -{ - /** - * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_BLOCK_CACHE_RESPONSE - */ - struct GNUNET_NAMESTORE_Header gns_header; - - /** - * #GNUNET_OK on success, #GNUNET_SYSERR error - */ - int32_t op_result GNUNET_PACKED; -}; - - -/** * Store a record to the namestore (as authority). */ struct RecordStoreMessage |