rfc822: Allow test infrastructure to handle headers with minor errors
[ccan] / ccan / rfc822 / test / helper.h
1 #include <ccan/tap/tap.h>
2
3 void failtest_setup(int argc, char *argv[]);
4 void allocation_failure_check(void);
5
6 #define CHECK_HEADER_NUMTESTS   4
7 void check_header(struct rfc822_msg *msg, struct rfc822_header *h,
8                   const char *name, const char *val,
9                   enum rfc822_header_errors experr, int crlf);