changeset 162:ae31156a16c1

Headerfile sync. I forgot some earlier, sorry :\
author mmj
date Fri, 04 Jun 2004 00:29:59 +1000
parents 4b17bdd59e54
children 39c46b88720d
files include/do_all_the_voodo_here.h include/gethdrline.h include/listcontrol.h include/wrappers.h
diffstat 4 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/include/do_all_the_voodo_here.h	Thu Jun 03 23:56:45 2004 +1000
+++ b/include/do_all_the_voodo_here.h	Fri Jun 04 00:29:59 2004 +1000
@@ -1,11 +1,11 @@
 #ifndef DO_ALL_THE_VOODO_HERE_H
 #define DO_ALL_THE_VOODO_HERE_H
 
-#include "mlmmj.h"
+#include "mlmmj.h" /* For struct mailhdr */
 
 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,
+int do_all_the_voodo_here(int infd, int outfd, int hdrfd, int footfd,
 	      const char **delhdrs, struct mailhdr *readhdrs,
 	      const char *subjectprefix);
 
--- a/include/gethdrline.h	Thu Jun 03 23:56:45 2004 +1000
+++ b/include/gethdrline.h	Fri Jun 04 00:29:59 2004 +1000
@@ -1,6 +1,6 @@
 #ifndef __GETHDRLINE_H__
 #define __GETHDRLINE_H__
 
-char *gethdrline(FILE *infile);
+char *gethdrline(int fd);
 
 #endif /* __GETHDRLINE_H__ */
--- a/include/listcontrol.h	Thu Jun 03 23:56:45 2004 +1000
+++ b/include/listcontrol.h	Fri Jun 04 00:29:59 2004 +1000
@@ -14,6 +14,6 @@
 int listcontrol(struct email_container *fromemails, const char *listdir,
 		const char *controladdr, const char *mlmmjsub,
 		const char *mlmmjunsub, const char *mlmmjsend,
-		const char *mlmmjbounce);
+		const char *mlmmjbounce, const char *mailname);
 
 #endif /* LISTCONTROL_H */
--- a/include/wrappers.h	Thu Jun 03 23:56:45 2004 +1000
+++ b/include/wrappers.h	Fri Jun 04 00:29:59 2004 +1000
@@ -13,5 +13,6 @@
 
 ssize_t writen(int fd, const void *vptr, size_t n);
 int random_int(void);
+int dumpfd2fd(int infd, int outfd);
 
 #endif /* WRAPPERS_H */