mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-03 15:40:32 +00:00
blaze822: add blaze822_headerlen
This commit is contained in:
parent
a07d2c9d9b
commit
d1e4b5f503
@ -555,6 +555,12 @@ error:
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
size_t
|
||||||
|
blaze822_headerlen(struct message *mesg)
|
||||||
|
{
|
||||||
|
return mesg->end - mesg->msg;
|
||||||
|
}
|
||||||
|
|
||||||
char *
|
char *
|
||||||
blaze822_body(struct message *mesg)
|
blaze822_body(struct message *mesg)
|
||||||
{
|
{
|
||||||
|
@ -22,6 +22,7 @@ time_t blaze822_date(char *);
|
|||||||
char *blaze822_addr(char *, char **, char **);
|
char *blaze822_addr(char *, char **, char **);
|
||||||
char *blaze822_body(struct message *mesg);
|
char *blaze822_body(struct message *mesg);
|
||||||
size_t blaze822_bodylen(struct message *mesg);
|
size_t blaze822_bodylen(struct message *mesg);
|
||||||
|
size_t blaze822_headerlen(struct message *mesg);
|
||||||
|
|
||||||
int blaze822_loop(int, char **, void (*)(char *));
|
int blaze822_loop(int, char **, void (*)(char *));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user