summaryrefslogtreecommitdiff
path: root/ccan/rfc822/test/helper.h
blob: f1bd9279d5012ce45bd11e23813f644a9ed7de8d (plain)
1
2
3
4
5
6
7
8
9
#include <ccan/tap/tap.h>

void failtest_setup(int argc, char *argv[]);
void allocation_failure_check(void);

#define CHECK_HEADER_NUMTESTS	4
void check_header(struct rfc822_msg *msg, struct rfc822_header *h,
		  const char *name, const char *val,
		  enum rfc822_header_errors experr, int crlf);