diff src/configfile.c @ 82:1eb0cdd17c76 noffle

[svn] info-always-unread config/doc/implementation
author bears
date Sun, 14 May 2000 17:15:08 +0100
parents 125d79c9e586
children 1fcdced0246e
line wrap: on
line diff
--- a/src/configfile.c	Sun May 14 17:13:21 2000 +0100
+++ b/src/configfile.c	Sun May 14 17:15:08 2000 +0100
@@ -6,7 +6,7 @@
     SPOOLDIR
     VERSION
 
-  $Id: configfile.c 60 2000-05-09 22:28:38Z uh1763 $
+  $Id: configfile.c 88 2000-05-14 16:15:08Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -47,6 +47,7 @@
     int connectTimeout;
     Bool autoSubscribe;
     Bool autoUnsubscribe;
+    Bool infoAlways;
     Bool removeMsgId;
     Bool replaceMsgId;
     Str autoSubscribeMode;
@@ -70,6 +71,7 @@
     30,       /* connectTimeout */
     FALSE,    /* autoSubscribe */
     FALSE,    /* autoUnsubscribe */
+    TRUE,     /* infoAlways */
     FALSE,    /* removeMsgId */
     TRUE,     /* replaceMsgId */
     "over",   /* autoSubscribeMode */
@@ -94,6 +96,7 @@
 int Cfg_connectTimeout( void ) { return config.connectTimeout; }
 Bool Cfg_autoUnsubscribe( void ) { return config.autoUnsubscribe; }
 Bool Cfg_autoSubscribe( void )  { return config.autoSubscribe; }
+Bool Cfg_infoAlways( void )  { return config.infoAlways; }
 Bool Cfg_removeMsgId( void ) { return config.removeMsgId; }
 Bool Cfg_replaceMsgId( void ) { return config.replaceMsgId; }
 const char * Cfg_autoSubscribeMode( void ) {
@@ -362,6 +365,8 @@
             getBool( &config.autoSubscribe, p );
         else if ( strcmp( "auto-unsubscribe", name ) == 0 )
             getBool( &config.autoUnsubscribe, p );
+        else if ( strcmp( "info-always-unread", name ) == 0 )
+            getBool( &config.infoAlways, p );
         else if ( strcmp( "remove-messageid", name ) == 0 )
             getBool( &config.removeMsgId, p );
         else if ( strcmp( "replace-messageid", name ) == 0 )