diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-11-05 06:00:34 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-11-05 06:00:34 +0000 |
commit | 40f522c2e1eafed131184579bde7296799a5f442 (patch) | |
tree | f5e73caef85fe10eb45e30c7f66655e5a8dca9a3 /fetchmail.h | |
parent | 689ff9f4de6fb7cb31d3b6421ad7423c1614d004 (diff) | |
download | fetchmail-40f522c2e1eafed131184579bde7296799a5f442.tar.gz fetchmail-40f522c2e1eafed131184579bde7296799a5f442.tar.bz2 fetchmail-40f522c2e1eafed131184579bde7296799a5f442.zip |
Context for bouncemail is encapsulated.
svn path=/trunk/; revision=2171
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 11 |
1 files changed, 10 insertions, 1 deletions
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 *); |