diff options
author | Gabor X Toth <*@tg-x.net> | 2014-07-10 17:49:53 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2014-07-10 17:49:53 +0000 |
commit | a8133f3ff80aaaccc904e4bbaf69bc53dee499cb (patch) | |
tree | c10edd7a8156280c61357ccf9e0f1f27c7a0d6db /src/include/gnunet_gnsrecord_lib.h | |
parent | 6c75526e936fcc74ee79b13831b2b6dda57f293d (diff) | |
download | gnunet-a8133f3ff80aaaccc904e4bbaf69bc53dee499cb.tar.gz gnunet-a8133f3ff80aaaccc904e4bbaf69bc53dee499cb.zip |
PSYC(store), Multicast: use ECDSA slave/member keys; PSYC: add GNUNET_PSYC_message_create()
Diffstat (limited to 'src/include/gnunet_gnsrecord_lib.h')
-rw-r--r-- | src/include/gnunet_gnsrecord_lib.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/include/gnunet_gnsrecord_lib.h b/src/include/gnunet_gnsrecord_lib.h index 5efaa64b7..3713d8d11 100644 --- a/src/include/gnunet_gnsrecord_lib.h +++ b/src/include/gnunet_gnsrecord_lib.h | |||
@@ -173,9 +173,31 @@ struct GNUNET_GNSRECORD_Data | |||
173 | }; | 173 | }; |
174 | 174 | ||
175 | 175 | ||
176 | |||
177 | GNUNET_NETWORK_STRUCT_BEGIN | 176 | GNUNET_NETWORK_STRUCT_BEGIN |
178 | 177 | ||
178 | /** | ||
179 | * Data stored in a PLACE record. | ||
180 | */ | ||
181 | struct GNUNET_GNSRECORD_PlaceData | ||
182 | { | ||
183 | /** | ||
184 | * Public key of the place. | ||
185 | */ | ||
186 | struct GNUNET_CRYPTO_EddsaPublicKey place_key; | ||
187 | |||
188 | /** | ||
189 | * Peer identity of the origin. | ||
190 | */ | ||
191 | struct GNUNET_PeerIdentity origin; | ||
192 | |||
193 | /** | ||
194 | * Number of relays that follow. | ||
195 | */ | ||
196 | uint32_t relay_count GNUNET_PACKED; | ||
197 | |||
198 | /* Followed by struct GNUNET_PeerIdentity relays[relay_count] */ | ||
199 | }; | ||
200 | |||
179 | 201 | ||
180 | /** | 202 | /** |
181 | * Information we have in an encrypted block with record data (i.e. in the DHT). | 203 | * Information we have in an encrypted block with record data (i.e. in the DHT). |