From 0d8a8b913f6a15088523bc69cbcf6240de945cda Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 15 Oct 2003 19:26:58 +0000 Subject: Sunil's transaction patches. svn path=/trunk/; revision=3858 --- options.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'options.c') diff --git a/options.c b/options.c index 8ab2adce..f52fd6ff 100644 --- a/options.c +++ b/options.c @@ -86,6 +86,8 @@ #define LA_SSLFINGERPRINT 60 #endif +#define LA_FETCHSIZELIMIT 61 +#define LA_FASTUIDL 62 /* options still left: CDgGhHjJoORwWxXYz */ static const char *shortoptions = @@ -140,6 +142,8 @@ static const struct option longoptions[] = { {"batchlimit",required_argument, (int *) 0, LA_BATCHLIMIT }, {"fetchlimit",required_argument, (int *) 0, LA_FETCHLIMIT }, + {"fetchsizelimit",required_argument, (int *) 0, LA_FETCHSIZELIMIT }, + {"fastuidl", required_argument, (int *) 0, LA_FASTUIDL }, {"expunge", required_argument, (int *) 0, LA_EXPUNGE }, {"mda", required_argument, (int *) 0, LA_MDA }, {"bsmtp", required_argument, (int *) 0, LA_BSMTP }, @@ -529,6 +533,14 @@ struct query *ctl; /* option record to be initialized */ c = xatoi(optarg, &errflag); ctl->fetchlimit = NUM_VALUE_IN(c); break; + case LA_FETCHSIZELIMIT: + c = xatoi(optarg, &errflag); + ctl->fetchsizelimit = NUM_VALUE_IN(c); + break; + case LA_FASTUIDL: + c = xatoi(optarg, &errflag); + ctl->fastuidl = NUM_VALUE_IN(c); + break; case 'e': case LA_EXPUNGE: c = xatoi(optarg, &errflag); @@ -705,6 +717,8 @@ struct query *ctl; /* option record to be initialized */ P(GT_(" -Z, --antispam, set antispam response values\n")); P(GT_(" -b, --batchlimit set batch limit for SMTP connections\n")); P(GT_(" -B, --fetchlimit set fetch limit for server connections\n")); + P(GT_(" --fetchsizelimit set fetch message size limit\n")); + P(GT_(" --fastuidl do a binary search for UIDLs\n")); P(GT_(" -e, --expunge set max deletions between expunges\n")); P(GT_(" -m, --mda set MDA to use for forwarding\n")); P(GT_(" --bsmtp set output BSMTP file\n")); -- cgit v1.2.3