changeset 10:c9df40f76802

do_all_the_voodo_here introduction
author mmj
date Thu, 22 Apr 2004 22:10:12 +1000
parents e226ec6c1e74
children 8e1ebc68ee62
files include/do_all_the_voodo_here.h include/mlmmj.h
diffstat 2 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/do_all_the_voodo_here.h	Thu Apr 22 22:10:12 2004 +1000
@@ -0,0 +1,11 @@
+#ifndef DO_ALL_THE_VOODO_HERE_H
+#define DO_ALL_THE_VOODO_HERE_H
+
+#include "mlmmj.h"
+
+int findit(const char *line, const char **headers);
+void getinfo(const char *line, struct mailhdr *readhdrs);
+void do_all_the_voodo_here(FILE *in, FILE *out, FILE *hdradd, FILE *footers,
+	      const char **delhdrs, struct mailhdr *readhdrs);
+
+#endif /* DO_ALL_THE_VOODO_HERE_H */
--- a/include/mlmmj.h	Thu Apr 22 22:09:52 2004 +1000
+++ b/include/mlmmj.h	Thu Apr 22 22:10:12 2004 +1000
@@ -20,6 +20,11 @@
 #define READ_BUFSIZE 2048
 #define RECIPDELIM '+'
 
+struct mailhdr {
+	const char *token;
+	char *value;
+};
+
 void print_version(const char *prg);
 
 #endif /* MLMMJ_GENERIC_INCLUDES */