diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2003-10-15 19:26:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2003-10-15 19:26:58 +0000 |
commit | 0d8a8b913f6a15088523bc69cbcf6240de945cda (patch) | |
tree | 6d32025f03e7c273d35d88a6bd4c6fa9432632d8 /options.c | |
parent | a9c74c7425861cabc87f74fbce49e0da7af5e756 (diff) | |
download | fetchmail-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.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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")); |