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.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 9f776587e..63a154390 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -224,11 +224,10 @@ struct GNUNET_MessageHeader
224/** 224/**
225 * @brief 512-bit hashcode 225 * @brief 512-bit hashcode
226 */ 226 */
227typedef struct GNUNET_HashCode 227struct GNUNET_HashCode
228{ 228{
229 uint32_t bits[512 / 8 / sizeof (uint32_t)]; /* = 16 */ 229 uint32_t bits[512 / 8 / sizeof (uint32_t)]; /* = 16 */
230} 230};
231GNUNET_HashCode;
232 231
233 232
234/** 233/**
@@ -237,7 +236,7 @@ GNUNET_HashCode;
237 */ 236 */
238struct GNUNET_PeerIdentity 237struct GNUNET_PeerIdentity
239{ 238{
240 GNUNET_HashCode hashPubKey; 239 struct GNUNET_HashCode hashPubKey;
241}; 240};
242GNUNET_NETWORK_STRUCT_END 241GNUNET_NETWORK_STRUCT_END
243 242
@@ -428,7 +427,7 @@ GNUNET_logger_remove (GNUNET_Logger logger, void *logger_cls);
428 * @return string 427 * @return string
429 */ 428 */
430const char * 429const char *
431GNUNET_h2s (const GNUNET_HashCode * hc); 430GNUNET_h2s (const struct GNUNET_HashCode * hc);
432 431
433 432
434/** 433/**
@@ -441,7 +440,7 @@ GNUNET_h2s (const GNUNET_HashCode * hc);
441 * @return string 440 * @return string
442 */ 441 */
443const char * 442const char *
444GNUNET_h2s_full (const GNUNET_HashCode * hc); 443GNUNET_h2s_full (const struct GNUNET_HashCode * hc);
445 444
446 445
447/** 446/**