aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/peerstore_common.c
diff options
context:
space:
mode:
authorOmar Tarabai <tarabai@devegypt.com>2014-07-24 12:44:24 +0000
committerOmar Tarabai <tarabai@devegypt.com>2014-07-24 12:44:24 +0000
commitc057bd312c783e0a2f3783dfd888a66f490b0a30 (patch)
treeff87b7bf7189a723045d7c851d2d383b786724ec /src/peerstore/peerstore_common.c
parentf2594744c121f45f3b36867b051220e7186d6f9b (diff)
downloadgnunet-c057bd312c783e0a2f3783dfd888a66f490b0a30.tar.gz
gnunet-c057bd312c783e0a2f3783dfd888a66f490b0a30.zip
peerstore: doxygen
Diffstat (limited to 'src/peerstore/peerstore_common.c')
-rw-r--r--src/peerstore/peerstore_common.c15
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 */
133struct GNUNET_MQ_Envelope * 134struct GNUNET_MQ_Envelope *
134PEERSTORE_create_record_mq_envelope(const char *sub_system, 135PEERSTORE_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;