From 40f522c2e1eafed131184579bde7296799a5f442 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 5 Nov 1998 06:00:34 +0000 Subject: Context for bouncemail is encapsulated. svn path=/trunk/; revision=2171 --- fetchmail.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index c0550202..78551cd7 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -266,6 +266,15 @@ struct query struct query *next; /* next query control block in chain */ }; +struct msgblk /* message header parsed for open_sink() */ +{ + char *headers; /* raw message headers */ + struct idlist *xmit_names; /* addressees */ + char return_path[HOSTLEN + USERNAMELEN + 4]; + int reallen; +}; + + /* * Numeric option handling. Numeric option value of zero actually means * it's unspecified. Value less than zero is zero. @@ -361,7 +370,7 @@ extern int phase; /* sink.c: forwarding */ int stuffline(struct query *, char *); -int open_sink(struct query*, const char*, struct idlist*, long reallen, int*, int*); +int open_sink(struct query*, struct msgblk *, int*, int*); void release_sink(struct query *); int close_sink(struct query *, flag); int open_warning_by_mail(struct query *); -- cgit v1.2.3