blaze822: header cleanup

pull/1/merge
Christian Neukirchen 8 years ago
parent 5bc288f1aa
commit 19ba414abc

@ -13,6 +13,9 @@
#include <errno.h>
#include <time.h>
#include "blaze822.h"
#include "blaze822_priv.h"
// WSP = SP / HTAB
#define iswsp(c) (((c) == ' ' || (c) == '\t'))
@ -21,11 +24,6 @@
#define bufsiz 4096
struct message {
char *msg;
char *end;
};
static long
parse_posint(char **s, size_t minn, size_t maxn)
{
@ -346,7 +344,7 @@ blaze822_free(struct message *mesg)
}
char *
blaze822_hdr_(struct message *mesg, char *hdr, size_t hdrlen)
blaze822_hdr_(struct message *mesg, const char *hdr, size_t hdrlen)
{
char *v;

@ -0,0 +1,6 @@
struct message {
char *msg;
char *end;
char *body;
char *bodyend;
};
Loading…
Cancel
Save