about summary refs log tree commit diff
path: root/blaze822.h
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-16 19:44:21 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-16 19:44:21 +0200
commit963380c9f1d7e0b94ed6af420f107e13c09fb231 (patch)
treea6d61216492feb41faae3d6858119744c2cec71f /blaze822.h
parent9853ddb91a91c1fb9cbec49e8d964c0f1dd628e4 (diff)
downloadmblaze-963380c9f1d7e0b94ed6af420f107e13c09fb231.tar.gz
mblaze-963380c9f1d7e0b94ed6af420f107e13c09fb231.tar.xz
mblaze-963380c9f1d7e0b94ed6af420f107e13c09fb231.zip
blaze822: add blaze822_chdr to search for a header passed as C string
Diffstat (limited to 'blaze822.h')
-rw-r--r--blaze822.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/blaze822.h b/blaze822.h
index 190cb55..e19421b 100644
--- a/blaze822.h
+++ b/blaze822.h
@@ -12,6 +12,7 @@ struct message *blaze822_mem(char *buf, size_t len);  // header + body
 
 char *blaze822_hdr_(struct message *mesg, const char *hdr, size_t len);
 #define blaze822_hdr(mesg, hdr) blaze822_hdr_(mesg, "\0" hdr ":", 2+strlen((hdr)))
+char *blaze822_chdr(struct message *mesg, const char *chdr);
 
 char *blaze822_next_header(struct message *mesg, char *prev);