aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r--src/include/gnunet_common.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index f26d6bc98..141df1a5d 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -208,27 +208,25 @@ struct GNUNET_MessageHeader
208 uint16_t type GNUNET_PACKED; 208 uint16_t type GNUNET_PACKED;
209 209
210}; 210};
211GNUNET_NETWORK_STRUCT_END 211
212 212
213/** 213/**
214 * @brief 512-bit hashcode 214 * @brief 512-bit hashcode
215 */ 215 */
216typedef struct 216typedef struct GNUNET_HashCode
217{ 217{
218 uint32_t bits[512 / 8 / sizeof (uint32_t)]; /* = 16 */ 218 uint32_t bits[512 / 8 / sizeof (uint32_t)]; /* = 16 */
219} 219}
220GNUNET_HashCode; 220GNUNET_HashCode;
221 221
222 222
223GNUNET_NETWORK_STRUCT_BEGIN
224
225/** 223/**
226 * The identity of the host (basically the SHA-512 hashcode of 224 * The identity of the host (basically the SHA-512 hashcode of
227 * it's public key). 225 * it's public key).
228 */ 226 */
229struct GNUNET_PeerIdentity 227struct GNUNET_PeerIdentity
230{ 228{
231 GNUNET_HashCode hashPubKey GNUNET_PACKED; 229 GNUNET_HashCode hashPubKey;
232}; 230};
233GNUNET_NETWORK_STRUCT_END 231GNUNET_NETWORK_STRUCT_END
234 232