aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-03-06 06:34:46 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-03-06 06:34:46 +0000
commit65b310a77efb75cd01d355df779cf4721156f89e (patch)
tree53c41d5c9db2ffeb91546fb12c5071d8fc97e10d /rcfile_y.y
parent2cc82b76e6597d6d5c984a27abf041666ed7aa1b (diff)
downloadfetchmail-65b310a77efb75cd01d355df779cf4721156f89e.tar.gz
fetchmail-65b310a77efb75cd01d355df779cf4721156f89e.tar.bz2
fetchmail-65b310a77efb75cd01d355df779cf4721156f89e.zip
Implemented support for RFC2177 IDLE command.
svn path=/trunk/; revision=2790
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 2e99e62b..d5633584 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -69,7 +69,8 @@ extern char * yytext;
%token <sval> STRING
%token <number> NUMBER
%token NO KEEP FLUSH FETCHALL REWRITE FORCECR STRIPCR PASS8BITS DROPSTATUS
-%token DNS SERVICE PORT UIDL INTERVAL MIMEDECODE CHECKALIAS SSL SSLKEY SSLCERT
+%token DNS SERVICE PORT UIDL INTERVAL MIMEDECODE IDLE CHECKALIAS
+%token SSL SSLKEY SSLCERT
%%
@@ -322,6 +323,7 @@ user_option : TO localnames HERE
| PASS8BITS {current.pass8bits = FLAG_TRUE;}
| DROPSTATUS {current.dropstatus = FLAG_TRUE;}
| MIMEDECODE {current.mimedecode = FLAG_TRUE;}
+ | IDLE {current.idle = FLAG_TRUE;}
| SSL {current.use_ssl = FLAG_TRUE;}
| SSLKEY STRING {current.sslkey = xstrdup($2);}
@@ -336,6 +338,7 @@ user_option : TO localnames HERE
| NO PASS8BITS {current.pass8bits = FLAG_FALSE;}
| NO DROPSTATUS {current.dropstatus = FLAG_FALSE;}
| NO MIMEDECODE {current.mimedecode = FLAG_FALSE;}
+ | NO IDLE {current.idle = FLAG_FALSE;}
| NO SSL {current.use_ssl = FLAG_FALSE;}