aboutsummaryrefslogtreecommitdiff
path: root/blaze822.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-16 22:18:29 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-16 22:18:29 +0200
commitd1e4b5f503d32777a22ae2a17e019c5ba2584987 (patch)
treeed2930346f61529d05b7129101b0fe1d3f5d7a61 /blaze822.c
parenta07d2c9d9b38f7c79a6fb2ddaaf5aa1e3f23f7bd (diff)
downloadmblaze-d1e4b5f503d32777a22ae2a17e019c5ba2584987.tar.gz
blaze822: add blaze822_headerlen
Diffstat (limited to 'blaze822.c')
-rw-r--r--blaze822.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/blaze822.c b/blaze822.c
index 14df0eb..4170ed5 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -555,6 +555,12 @@ error:
return 0;
}
+size_t
+blaze822_headerlen(struct message *mesg)
+{
+ return mesg->end - mesg->msg;
+}
+
char *
blaze822_body(struct message *mesg)
{