gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r30414 - gnunet/src/namestore


From: gnunet
Subject: [GNUnet-SVN] r30414 - gnunet/src/namestore
Date: Sat, 26 Oct 2013 09:16:38 +0200

Author: grothoff
Date: 2013-10-26 09:16:38 +0200 (Sat, 26 Oct 2013)
New Revision: 30414

Modified:
   gnunet/src/namestore/gnunet-service-namestore.c
   gnunet/src/namestore/namestore.h
Log:
-eliminate dead code

Modified: gnunet/src/namestore/gnunet-service-namestore.c
===================================================================
--- gnunet/src/namestore/gnunet-service-namestore.c     2013-10-25 16:49:33 UTC 
(rev 30413)
+++ gnunet/src/namestore/gnunet-service-namestore.c     2013-10-26 07:16:38 UTC 
(rev 30414)
@@ -1022,7 +1022,7 @@
 
 /**
  * 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
 {

Modified: gnunet/src/namestore/namestore.h
===================================================================
--- gnunet/src/namestore/namestore.h    2013-10-25 16:49:33 UTC (rev 30413)
+++ gnunet/src/namestore/namestore.h    2013-10-26 07:16:38 UTC (rev 30414)
@@ -53,99 +53,6 @@
 
 
 /**
- * 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]