diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-12-18 05:06:19 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-12-18 05:06:19 +0000 |
commit | 54f81620fae6f46c55a930a348008e11c75b4f88 (patch) | |
tree | 6f57ff815374547642a609c4f8efa208749cbe2f /rcfile_y.y | |
parent | 2f1b2a582eda2b8993771bfece902f696c4dd9c4 (diff) | |
download | fetchmail-54f81620fae6f46c55a930a348008e11c75b4f88.tar.gz fetchmail-54f81620fae6f46c55a930a348008e11c75b4f88.tar.bz2 fetchmail-54f81620fae6f46c55a930a348008e11c75b4f88.zip |
Added `fetchlimit'.
svn path=/trunk/; revision=657
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -44,7 +44,7 @@ static void prc_reset(); %token DEFAULTS POLL SKIP AKA PROTOCOL AUTHENTICATE TIMEOUT KPOP KERBEROS %token ENVELOPE USERNAME PASSWORD FOLDER SMTPHOST MDA LIMIT %token IS HERE THERE TO MAP WILDCARD -%token SET BATCHLIMIT LOGFILE +%token SET BATCHLIMIT FETCHLIMIT LOGFILE %token <proto> PROTO %token <sval> STRING %token <number> NUMBER @@ -171,6 +171,7 @@ user_option : TO localnames HERE | FETCHALL {current.fetchall = ($1==FLAG_TRUE);} | REWRITE {current.norewrite = ($1==FLAG_TRUE);} | LIMIT NUMBER {current.limit = $2;} + | FETCHLIMIT NUMBER {current.fetchlimit = $2;} ; %% @@ -329,6 +330,7 @@ static void prc_register(void) FLAG_FORCE(authenticate); FLAG_FORCE(timeout); FLAG_FORCE(limit); + FLAG_FORCE(fetchlimit); #undef FLAG_FORCE (void) hostalloc(¤t); @@ -358,6 +360,7 @@ void optmerge(struct query *h2, struct query *h1) FLAG_MERGE(authenticate); FLAG_MERGE(timeout); FLAG_MERGE(limit); + FLAG_MERGE(fetchlimit); #undef FLAG_MERGE } |