aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-26 07:16:38 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-26 07:16:38 +0000
commitc9ca77798e93db9f08c4e6085429882d73e67321 (patch)
tree9c9bf41b09f2d0afd6c39172c37f06df8ee7e2ad /src/namestore
parent9135191d4c7f7cf10114158989a4e2a7eebad1ef (diff)
downloadgnunet-c9ca77798e93db9f08c4e6085429882d73e67321.tar.gz
gnunet-c9ca77798e93db9f08c4e6085429882d73e67321.zip
-eliminate dead code
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/gnunet-service-namestore.c2
-rw-r--r--src/namestore/namestore.h93
2 files changed, 1 insertions, 94 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c
index 3332ffcc6..0fce443c7 100644
--- a/src/namestore/gnunet-service-namestore.c
+++ b/src/namestore/gnunet-service-namestore.c
@@ -1022,7 +1022,7 @@ enum ZoneIterationResult
1022 1022
1023/** 1023/**
1024 * Context for record remove operations passed from 1024 * Context for record remove operations passed from
1025 * #run_zone_iteration_round to #zone_iteraterate_proc as closure 1025 * #run_zone_iteration_round to #zone_iterate_proc as closure
1026 */ 1026 */
1027struct ZoneIterationProcResult 1027struct ZoneIterationProcResult
1028{ 1028{
diff --git a/src/namestore/namestore.h b/src/namestore/namestore.h
index 5e900dbcc..f403d589c 100644
--- a/src/namestore/namestore.h
+++ b/src/namestore/namestore.h
@@ -53,99 +53,6 @@ struct GNUNET_NAMESTORE_Header
53 53
54 54
55/** 55/**
56 * Lookup a block in the namestore
57 */
58struct LookupBlockMessage
59{
60 /**
61 * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_LOOKUP_BLOCK
62 */
63 struct GNUNET_NAMESTORE_Header gns_header;
64
65 /**
66 * The query.
67 */
68 struct GNUNET_HashCode query GNUNET_PACKED;
69
70};
71
72
73/**
74 * Lookup response
75 */
76struct LookupBlockResponseMessage
77{
78 /**
79 * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_LOOKUP_BLOCK_RESPONSE
80 */
81 struct GNUNET_NAMESTORE_Header gns_header;
82
83 /**
84 * Expiration time
85 */
86 struct GNUNET_TIME_AbsoluteNBO expire;
87
88 /**
89 * Signature.
90 */
91 struct GNUNET_CRYPTO_EcdsaSignature signature;
92
93 /**
94 * Derived public key.
95 */
96 struct GNUNET_CRYPTO_EcdsaPublicKey derived_key;
97
98 /* followed by encrypted block data */
99};
100
101
102/**
103 * Cache a record in the namestore.
104 */
105struct BlockCacheMessage
106{
107 /**
108 * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_BLOCK_CACHE
109 */
110 struct GNUNET_NAMESTORE_Header gns_header;
111
112 /**
113 * Expiration time
114 */
115 struct GNUNET_TIME_AbsoluteNBO expire;
116
117 /**
118 * Signature.
119 */
120 struct GNUNET_CRYPTO_EcdsaSignature signature;
121
122 /**
123 * Derived public key.
124 */
125 struct GNUNET_CRYPTO_EcdsaPublicKey derived_key;
126
127 /* follwed by encrypted block data */
128};
129
130
131/**
132 * Response to a request to cache a block.
133 */
134struct BlockCacheResponseMessage
135{
136 /**
137 * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_BLOCK_CACHE_RESPONSE
138 */
139 struct GNUNET_NAMESTORE_Header gns_header;
140
141 /**
142 * #GNUNET_OK on success, #GNUNET_SYSERR error
143 */
144 int32_t op_result GNUNET_PACKED;
145};
146
147
148/**
149 * Store a record to the namestore (as authority). 56 * Store a record to the namestore (as authority).
150 */ 57 */
151struct RecordStoreMessage 58struct RecordStoreMessage