aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2003-10-15 19:26:58 +0000
committerEric S. Raymond <esr@thyrsus.com>2003-10-15 19:26:58 +0000
commit0d8a8b913f6a15088523bc69cbcf6240de945cda (patch)
tree6d32025f03e7c273d35d88a6bd4c6fa9432632d8 /options.c
parenta9c74c7425861cabc87f74fbce49e0da7af5e756 (diff)
downloadfetchmail-0d8a8b913f6a15088523bc69cbcf6240de945cda.tar.gz
fetchmail-0d8a8b913f6a15088523bc69cbcf6240de945cda.tar.bz2
fetchmail-0d8a8b913f6a15088523bc69cbcf6240de945cda.zip
Sunil's transaction patches.
svn path=/trunk/; revision=3858
Diffstat (limited to 'options.c')
-rw-r--r--options.c14
1 files changed, 14 insertions, 0 deletions
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"));