diff src/configfile.h @ 88:1fcdced0246e noffle

[svn] Move posting code to post.c, add command line posting
author bears
date Thu, 18 May 2000 13:17:23 +0100
parents dfcb28566d36
children 402300614185
line wrap: on
line diff
--- a/src/configfile.h	Thu May 18 13:11:05 2000 +0100
+++ b/src/configfile.h	Thu May 18 13:17:23 2000 +0100
@@ -3,7 +3,7 @@
 
   Common declarations and handling of the configuration file.
 
-  $Id: configfile.h 96 2000-05-17 10:51:22Z enz $
+  $Id: configfile.h 100 2000-05-18 12:17:23Z bears $
 */
 
 #ifndef CONFIGFILE_H
@@ -15,6 +15,9 @@
 
 #include "common.h"
 
+struct GroupEnum;
+typedef struct GroupEnum GroupEnum;
+
 const char * Cfg_spoolDir( void );
 const char * Cfg_version( void );
 
@@ -26,10 +29,8 @@
 Bool Cfg_autoSubscribe( void );
 Bool Cfg_infoAlways( void );
 
-/* Ignored. Should be removed in development version. */
-Bool Cfg_removeMsgId( void );
-
 Bool Cfg_replaceMsgId( void );
+Bool Cfg_postLocal( void );
 const char * Cfg_autoSubscribeMode( void ); /* Can be: full, thread, over */
 const char * Cfg_mailTo( void );
 
@@ -58,4 +59,24 @@
 
 void Cfg_read( void );
 
+/* Get a new iterator for get group patterns for the given server */
+GroupEnum *
+new_GetGrEn( const char *name );
+
+/* Get a new iterator for omit group patterns for the given server */
+GroupEnum *
+new_OmitGrEn( const char *name );
+
+/* Free up a group enumerator */
+void
+del_GrEn( GroupEnum * ge );
+
+/* Rewind to first group */
+void
+GrEn_first( GroupEnum * ge );
+
+/* Get next group pattern or NULL if no more */
+const char *
+GrEn_next( GroupEnum *ge );
+
 #endif