From 4371b0fcd9b50f78ca27ac48adf2f4663b2dfc9b Mon Sep 17 00:00:00 2001 From: Omar Tarabai Date: Mon, 4 Aug 2014 11:06:52 +0000 Subject: peerstore: indentation --- src/peerstore/peerstore_common.h | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'src/peerstore/peerstore_common.h') diff --git a/src/peerstore/peerstore_common.h b/src/peerstore/peerstore_common.h index 50ff4a2f9..fb1318146 100644 --- a/src/peerstore/peerstore_common.h +++ b/src/peerstore/peerstore_common.h @@ -31,10 +31,9 @@ * */ void -PEERSTORE_hash_key(const char *sub_system, - const struct GNUNET_PeerIdentity *peer, - const char *key, - struct GNUNET_HashCode *ret); +PEERSTORE_hash_key (const char *sub_system, + const struct GNUNET_PeerIdentity *peer, const char *key, + struct GNUNET_HashCode *ret); /** * Creates a record message ready to be sent @@ -49,13 +48,12 @@ PEERSTORE_hash_key(const char *sub_system, * @return pointer to record message struct */ struct StoreRecordMessage * -PEERSTORE_create_record_message(const char *sub_system, - const struct GNUNET_PeerIdentity *peer, - const char *key, - const void *value, - size_t value_size, - struct GNUNET_TIME_Absolute *expiry, - uint16_t msg_type); +PEERSTORE_create_record_message (const char *sub_system, + const struct GNUNET_PeerIdentity *peer, + const char *key, const void *value, + size_t value_size, + struct GNUNET_TIME_Absolute *expiry, + uint16_t msg_type); /** * Creates a MQ envelope for a single record @@ -71,14 +69,13 @@ PEERSTORE_create_record_message(const char *sub_system, * @return pointer to record message struct */ struct GNUNET_MQ_Envelope * -PEERSTORE_create_record_mq_envelope(const char *sub_system, - const struct GNUNET_PeerIdentity *peer, - const char *key, - const void *value, - size_t value_size, - struct GNUNET_TIME_Absolute *expiry, - enum GNUNET_PEERSTORE_StoreOption options, - uint16_t msg_type); +PEERSTORE_create_record_mq_envelope (const char *sub_system, + const struct GNUNET_PeerIdentity *peer, + const char *key, const void *value, + size_t value_size, + struct GNUNET_TIME_Absolute *expiry, + enum GNUNET_PEERSTORE_StoreOption options, + uint16_t msg_type); /** * Parses a message carrying a record @@ -87,11 +84,12 @@ PEERSTORE_create_record_mq_envelope(const char *sub_system, * @return Pointer to record or NULL if error */ struct GNUNET_PEERSTORE_Record * -PEERSTORE_parse_record_message(const struct GNUNET_MessageHeader *message); +PEERSTORE_parse_record_message (const struct GNUNET_MessageHeader *message); /** * Free any memory allocated for this record * * @param record */ -void PEERSTORE_destroy_record(struct GNUNET_PEERSTORE_Record *record); +void +PEERSTORE_destroy_record (struct GNUNET_PEERSTORE_Record *record); -- cgit v1.2.3