aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/mds-message.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-12 19:59:11 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-12 19:59:11 +0200
commitf211bbb2c22b0ca52bacf07388d80508fdca4253 (patch)
tree1a1fe38b15f99f4cf294a6251e27bd08f79acb41 /src/libmdsserver/mds-message.h
parentthe kill protocol (diff)
downloadmds-f211bbb2c22b0ca52bacf07388d80508fdca4253.tar.gz
mds-f211bbb2c22b0ca52bacf07388d80508fdca4253.tar.bz2
mds-f211bbb2c22b0ca52bacf07388d80508fdca4253.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/mds-message.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmdsserver/mds-message.h b/src/libmdsserver/mds-message.h
index 798b7ad..36a4c47 100644
--- a/src/libmdsserver/mds-message.h
+++ b/src/libmdsserver/mds-message.h
@@ -87,7 +87,7 @@ typedef struct mds_message
* be used by `mds_message_read`
*
* @param this Memory slot in which to store the new message
- * @return Non-zero on error, errno will be set accordingly.
+ * @return Non-zero on error, `errno` will be set accordingly.
* Destroy the message on error.
*/
int mds_message_initialise(mds_message_t* restrict this);
@@ -121,11 +121,11 @@ int mds_message_extend_headers(mds_message_t* restrict this, size_t extent);
*
* @param this Memory slot in which to store the new message
* @param fd The file descriptor
- * @return Non-zero on error or interruption, errno will be
+ * @return Non-zero on error or interruption, `errno` will be
* set accordingly. Destroy the message on error,
* be aware that the reading could have been
* interrupted by a signal rather than canonical error.
- * If -2 is returned errno will not have been set,
+ * If -2 is returned `errno` will not have been set,
* -2 indicates that the message is malformated,
* which is a state that cannot be recovered from.
*/
@@ -153,7 +153,7 @@ void mds_message_marshal(const mds_message_t* restrict this, char* restrict data
*
* @param this Memory slot in which to store the new message
* @param data In buffer with the marshalled data
- * @return Non-zero on error, errno will be set accordingly.
+ * @return Non-zero on error, `errno` will be set accordingly.
* Destroy the message on error.
*/
int mds_message_unmarshal(mds_message_t* restrict this, char* restrict data);