aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index d976f481..a1b77468 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -249,6 +249,8 @@ struct method /* describe methods for protocol state machine */
int (*logout_cmd)(int, struct query *);
/* logout command */
flag retry; /* can getrange poll for new messages? */
+ int (*construct)(struct query *); /* session setup before first command */
+ int (*destruct)(struct query *); /* cleanup after session */
};
enum badheader { BHREJECT = 0, BHACCEPT };