diff options
Diffstat (limited to 'src/peerstore/peerstore_common.h')
-rw-r--r-- | src/peerstore/peerstore_common.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/peerstore/peerstore_common.h b/src/peerstore/peerstore_common.h index 1e3f228b8..6379f61a6 100644 --- a/src/peerstore/peerstore_common.h +++ b/src/peerstore/peerstore_common.h | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -31,10 +31,10 @@ | |||
31 | * | 31 | * |
32 | */ | 32 | */ |
33 | void | 33 | void |
34 | PEERSTORE_hash_key (const char *sub_system, | 34 | PEERSTORE_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 | */ |
53 | struct GNUNET_MQ_Envelope * | 53 | struct GNUNET_MQ_Envelope * |
54 | PEERSTORE_create_record_mq_envelope (const char *sub_system, | 54 | PEERSTORE_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 | */ |
70 | struct GNUNET_PEERSTORE_Record * | 70 | struct GNUNET_PEERSTORE_Record * |
71 | PEERSTORE_parse_record_message (const struct StoreRecordMessage *srm); | 71 | PEERSTORE_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 | */ |
79 | void | 79 | void |
80 | PEERSTORE_destroy_record (struct GNUNET_PEERSTORE_Record *record); | 80 | PEERSTORE_destroy_record(struct GNUNET_PEERSTORE_Record *record); |
81 | 81 | ||
82 | /* end of peerstore_common.h */ | 82 | /* end of peerstore_common.h */ |