aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/mds-message.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-18 23:58:59 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-18 23:58:59 +0200
commit7275453d856070e018ebb91ad6d4af39c8c746e5 (patch)
tree78c1563ee8fff4b2da93a5b88467de58c785babf /src/libmdsserver/mds-message.h
parentreduce code complexity (diff)
downloadmds-7275453d856070e018ebb91ad6d4af39c8c746e5.tar.gz
mds-7275453d856070e018ebb91ad6d4af39c8c746e5.tar.bz2
mds-7275453d856070e018ebb91ad6d4af39c8c746e5.tar.xz
reduce code complexity
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libmdsserver/mds-message.h')
-rw-r--r--src/libmdsserver/mds-message.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libmdsserver/mds-message.h b/src/libmdsserver/mds-message.h
index 6f0a61d..c6086c5 100644
--- a/src/libmdsserver/mds-message.h
+++ b/src/libmdsserver/mds-message.h
@@ -93,6 +93,13 @@ typedef struct mds_message
int mds_message_initialise(mds_message_t* restrict this);
/**
+ * Zero initialise a message slot
+ *
+ * @param this Memory slot in which to store the new message
+ */
+void mds_message_zero_initialise(mds_message_t* restrict this);
+
+/**
* Release all resources in a message, should
* be done even if initialisation fails
*