diff options
Diffstat (limited to 'src/peerstore/peerstore_common.c')
-rw-r--r-- | src/peerstore/peerstore_common.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/peerstore/peerstore_common.c b/src/peerstore/peerstore_common.c index 384a68f39..0cb801cc4 100644 --- a/src/peerstore/peerstore_common.c +++ b/src/peerstore/peerstore_common.c | |||
@@ -127,18 +127,19 @@ PEERSTORE_create_record_message(const char *sub_system, | |||
127 | * @param value record value BLOB (can be NULL) | 127 | * @param value record value BLOB (can be NULL) |
128 | * @param value_size record value size in bytes (set to 0 if value is NULL) | 128 | * @param value_size record value size in bytes (set to 0 if value is NULL) |
129 | * @param expiry time after which the record expires | 129 | * @param expiry time after which the record expires |
130 | * @param options options specific to the storage operation | ||
130 | * @param msg_type message type to be set in header | 131 | * @param msg_type message type to be set in header |
131 | * @return pointer to record message struct | 132 | * @return pointer to record message struct |
132 | */ | 133 | */ |
133 | struct GNUNET_MQ_Envelope * | 134 | struct GNUNET_MQ_Envelope * |
134 | PEERSTORE_create_record_mq_envelope(const char *sub_system, | 135 | PEERSTORE_create_record_mq_envelope(const char *sub_system, |
135 | const struct GNUNET_PeerIdentity *peer, | 136 | const struct GNUNET_PeerIdentity *peer, |
136 | const char *key, | 137 | const char *key, |
137 | const void *value, | 138 | const void *value, |
138 | size_t value_size, | 139 | size_t value_size, |
139 | struct GNUNET_TIME_Absolute *expiry, | 140 | struct GNUNET_TIME_Absolute *expiry, |
140 | enum GNUNET_PEERSTORE_StoreOption options, | 141 | enum GNUNET_PEERSTORE_StoreOption options, |
141 | uint16_t msg_type) | 142 | uint16_t msg_type) |
142 | { | 143 | { |
143 | struct StoreRecordMessage *srm; | 144 | struct StoreRecordMessage *srm; |
144 | struct GNUNET_MQ_Envelope *ev; | 145 | struct GNUNET_MQ_Envelope *ev; |