aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/peerstore_common.h
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.h
parentf2594744c121f45f3b36867b051220e7186d6f9b (diff)
downloadgnunet-c057bd312c783e0a2f3783dfd888a66f490b0a30.tar.gz
gnunet-c057bd312c783e0a2f3783dfd888a66f490b0a30.zip
peerstore: doxygen
Diffstat (limited to 'src/peerstore/peerstore_common.h')
-rw-r--r--src/peerstore/peerstore_common.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/peerstore/peerstore_common.h b/src/peerstore/peerstore_common.h
index 297eb9fc0..50ff4a2f9 100644
--- a/src/peerstore/peerstore_common.h
+++ b/src/peerstore/peerstore_common.h
@@ -66,18 +66,19 @@ PEERSTORE_create_record_message(const char *sub_system,
66 * @param value record value BLOB (can be NULL) 66 * @param value record value BLOB (can be NULL)
67 * @param value_size record value size in bytes (set to 0 if value is NULL) 67 * @param value_size record value size in bytes (set to 0 if value is NULL)
68 * @param expiry time after which the record expires 68 * @param expiry time after which the record expires
69 * @param options options specific to the storage operation
69 * @param msg_type message type to be set in header 70 * @param msg_type message type to be set in header
70 * @return pointer to record message struct 71 * @return pointer to record message struct
71 */ 72 */
72struct GNUNET_MQ_Envelope * 73struct GNUNET_MQ_Envelope *
73PEERSTORE_create_record_mq_envelope(const char *sub_system, 74PEERSTORE_create_record_mq_envelope(const char *sub_system,
74 const struct GNUNET_PeerIdentity *peer, 75 const struct GNUNET_PeerIdentity *peer,
75 const char *key, 76 const char *key,
76 const void *value, 77 const void *value,
77 size_t value_size, 78 size_t value_size,
78 struct GNUNET_TIME_Absolute *expiry, 79 struct GNUNET_TIME_Absolute *expiry,
79 enum GNUNET_PEERSTORE_StoreOption options, 80 enum GNUNET_PEERSTORE_StoreOption options,
80 uint16_t msg_type); 81 uint16_t msg_type);
81 82
82/** 83/**
83 * Parses a message carrying a record 84 * Parses a message carrying a record