# HG changeset patch # User mmj # Date 1082635812 -36000 # Node ID c9df40f76802b4e286fb6d875fdff7a95686100e # Parent e226ec6c1e74c4f891b3ac51b30d7d954e772592 do_all_the_voodo_here introduction diff -r e226ec6c1e74 -r c9df40f76802 include/do_all_the_voodo_here.h --- /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 */ diff -r e226ec6c1e74 -r c9df40f76802 include/mlmmj.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 */