From: mmj Date: Thu, 22 Apr 2004 12:10:12 +0000 (+1000) Subject: do_all_the_voodo_here introduction X-Git-Tag: RELEASE_1_0_0~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b262285f362c0aebccbdf2f192b2d9ff9568f65;p=thirdparty%2Fmlmmj.git do_all_the_voodo_here introduction --- diff --git a/include/do_all_the_voodo_here.h b/include/do_all_the_voodo_here.h new file mode 100644 index 00000000..464ac9aa --- /dev/null +++ b/include/do_all_the_voodo_here.h @@ -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 --git a/include/mlmmj.h b/include/mlmmj.h index f5ac06cc..4dc7afbc 100644 --- a/include/mlmmj.h +++ b/include/mlmmj.h @@ -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 */