diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-26 02:37:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-26 02:37:50 +0000 |
commit | 74631396d18f4c5b025e9cbbb70d0103c783037e (patch) | |
tree | e0fe83315284fa905cdecd51108a170815889cec /rcfile_y.y | |
parent | ad0c91eabd0349b5f1468b52a9b37a6bb028841b (diff) | |
download | fetchmail-74631396d18f4c5b025e9cbbb70d0103c783037e.tar.gz fetchmail-74631396d18f4c5b025e9cbbb70d0103c783037e.tar.bz2 fetchmail-74631396d18f4c5b025e9cbbb70d0103c783037e.zip |
Added filtering by length. Ugh.
svn path=/trunk/; revision=390
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -31,7 +31,7 @@ static int prc_errflag; } %token DEFAULTS SERVER PROTOCOL AUTHENTICATE TIMEOUT KPOP KERBEROS -%token USERNAME PASSWORD FOLDER SMTPHOST MDA IS HERE THERE TO MAP +%token USERNAME PASSWORD FOLDER SMTPHOST MDA IS HERE THERE TO MAP LIMIT %token <proto> PROTO %token <sval> STRING %token <number> NUMBER @@ -127,6 +127,7 @@ user_option : TO mapping_list HERE | FLUSH {current.flush = ($1==FLAG_TRUE);} | FETCHALL {current.fetchall = ($1==FLAG_TRUE);} | REWRITE {current.norewrite = ($1==FLAG_TRUE);} + | LIMIT NUMBER {current.limit = $2;} ; %% @@ -283,6 +284,7 @@ int prc_register() FLAG_FORCE(port); FLAG_FORCE(authenticate); FLAG_FORCE(timeout); + FLAG_FORCE(limit); #undef FLAG_FORCE (void) hostalloc(¤t); @@ -315,6 +317,7 @@ struct hostrec *h2; FLAG_MERGE(port); FLAG_MERGE(authenticate); FLAG_MERGE(timeout); + FLAG_MERGE(limit); #undef FLAG_MERGE } |