aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/peerstore_common.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-05 15:09:28 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-05 15:09:28 +0200
commitc4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch)
treecac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/peerstore/peerstore_common.h
parentfbb71d527c7d6babf269a8fefce1db291b9f7068 (diff)
downloadgnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz
gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/peerstore/peerstore_common.h')
-rw-r--r--src/peerstore/peerstore_common.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/peerstore/peerstore_common.h b/src/peerstore/peerstore_common.h
index 6379f61a6..f5352f5a5 100644
--- a/src/peerstore/peerstore_common.h
+++ b/src/peerstore/peerstore_common.h
@@ -31,10 +31,10 @@
31 * 31 *
32 */ 32 */
33void 33void
34PEERSTORE_hash_key(const char *sub_system, 34PEERSTORE_hash_key (const char *sub_system,
35 const struct GNUNET_PeerIdentity *peer, 35 const struct GNUNET_PeerIdentity *peer,
36 const char *key, 36 const char *key,
37 struct GNUNET_HashCode *ret); 37 struct GNUNET_HashCode *ret);
38 38
39 39
40/** 40/**
@@ -51,14 +51,14 @@ PEERSTORE_hash_key(const char *sub_system,
51 * @return pointer to record message struct 51 * @return pointer to record message struct
52 */ 52 */
53struct GNUNET_MQ_Envelope * 53struct GNUNET_MQ_Envelope *
54PEERSTORE_create_record_mq_envelope(const char *sub_system, 54PEERSTORE_create_record_mq_envelope (const char *sub_system,
55 const struct GNUNET_PeerIdentity *peer, 55 const struct GNUNET_PeerIdentity *peer,
56 const char *key, 56 const char *key,
57 const void *value, 57 const void *value,
58 size_t value_size, 58 size_t value_size,
59 struct GNUNET_TIME_Absolute expiry, 59 struct GNUNET_TIME_Absolute expiry,
60 enum GNUNET_PEERSTORE_StoreOption options, 60 enum GNUNET_PEERSTORE_StoreOption options,
61 uint16_t msg_type); 61 uint16_t msg_type);
62 62
63 63
64/** 64/**
@@ -68,7 +68,7 @@ PEERSTORE_create_record_mq_envelope(const char *sub_system,
68 * @return Pointer to record or NULL on error 68 * @return Pointer to record or NULL on error
69 */ 69 */
70struct GNUNET_PEERSTORE_Record * 70struct GNUNET_PEERSTORE_Record *
71PEERSTORE_parse_record_message(const struct StoreRecordMessage *srm); 71PEERSTORE_parse_record_message (const struct StoreRecordMessage *srm);
72 72
73 73
74/** 74/**
@@ -77,6 +77,6 @@ PEERSTORE_parse_record_message(const struct StoreRecordMessage *srm);
77 * @param record 77 * @param record
78 */ 78 */
79void 79void
80PEERSTORE_destroy_record(struct GNUNET_PEERSTORE_Record *record); 80PEERSTORE_destroy_record (struct GNUNET_PEERSTORE_Record *record);
81 81
82/* end of peerstore_common.h */ 82/* end of peerstore_common.h */