rfc822: Allow test infrastructure to handle headers with minor errors
[ccan] / ccan / rfc822 / test / helper.h
index 2bdb9c43cb05aa6f7ebcb4275436c8438528cb00..f1bd9279d5012ce45bd11e23813f644a9ed7de8d 100644 (file)
@@ -6,4 +6,4 @@ 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,
-                 int crlf);
+                 enum rfc822_header_errors experr, int crlf);