aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-27 03:38:14 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-27 03:38:14 +0000
commit4c09b8512b4900edf37f0da309b5084ae818874d (patch)
tree3f1c847ff9fa87ec0ae122eca92b93e7a0537692 /fetchmail.h
parent128a9da4bca6a3b8ff8f0e6a26edee2b89fe4d9e (diff)
downloadfetchmail-4c09b8512b4900edf37f0da309b5084ae818874d.tar.gz
fetchmail-4c09b8512b4900edf37f0da309b5084ae818874d.tar.bz2
fetchmail-4c09b8512b4900edf37f0da309b5084ae818874d.zip
Start of bouncemail modularization.
svn path=/trunk/; revision=2215
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 26bf4c26..2f97a016 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -278,6 +278,9 @@ struct msgblk /* message header parsed for open_sink() */
struct idlist *recipients; /* addressees */
char return_path[HOSTLEN + USERNAMELEN + 4];
int reallen;
+
+ /* this is written by open_sink */
+ int lmtp_responses; /* count of LMTP responses expected */
};
@@ -378,14 +381,14 @@ extern int phase;
int stuffline(struct query *, char *);
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 *);
+int close_sink(struct query *, struct msgblk *, flag);
+int open_warning_by_mail(struct query *, struct msgblk *);
#if defined(HAVE_STDARG_H)
void stuff_warning(struct query *, const char *, ... );
#else
void stuff_warning();
#endif
-void close_warning_by_mail(struct query *);
+void close_warning_by_mail(struct query *, struct msgblk *);
/* rfc822.c: RFC822 header parsing */
char *reply_hack(char *, const char *);