From 4ee8d22351243e9a79bb40f181786e5650abae47 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 2 Nov 1998 16:25:09 +0000 Subject: Added plugin/plugout option. svn path=/trunk/; revision=2168 --- fetchmail.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 75b9d573..ef40f0b9 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -759,6 +759,8 @@ static void optmerge(struct query *h2, struct query *h1, int force) FLAG_MERGE(server.interface_pair); #endif /* linux */ + FLAG_MERGE(server.plugin); + FLAG_MERGE(server.plugout); FLAG_MERGE(wildcard); FLAG_MERGE(remotename); FLAG_MERGE(password); @@ -1491,6 +1493,15 @@ void dump_params (struct runctl *runp, struct query *querylist, flag implicit) printf(" No monitor interface specified.\n"); #endif + if (ctl->server.plugin) + printf(" Server connections will be mode via plugin %s (--plugin %s).\n", ctl->server.plugin, ctl->server.plugin); + else if (outlevel >= O_VERBOSE) + printf(" No plugin command specified.\n"); + if (ctl->server.plugout) + printf(" Listener connections will be mode via plugout %s (--plugout %s).\n", ctl->server.plugout, ctl->server.plugout); + else if (outlevel >= O_VERBOSE) + printf(" No plugout command specified.\n"); + if (ctl->server.protocol > P_POP2 && (ctl->server.protocol != P_ETRN)) if (!ctl->oldsaved) printf(" No UIDs saved from this host.\n"); -- cgit v1.2.3