diff src/configfile.h @ 150:1c7303c71f66 noffle

[svn] * src/protocol.c: Fix bug in Prt_getLn if we should read a line starting with '\0' - according to the leafnode mailing list, this has been seen in the wild. * docs/inews.1,docs/noffle.1,docs/noffle.conf.5, packages/redhat/noffle.spec,src/configfile.h,src/configfile.c, src/noffle.c,src/post.h,src/post.c: Removed use of getopt_long, and added inews mode - the Noffle executable behaves as inews is invoked as inews. This includes adding From: and Organization: headers if necessary - add configs to override defaults for the From: domain and specify the organization. For all my fellow trn-heads out there, and users of any other ageing newsreader that expects inews. Updated RPM spec to create inews link to noffle on install.
author bears
date Thu, 26 Oct 2000 22:21:13 +0100
parents 6f681d41734c
children 76460d98b2fb
line wrap: on
line diff
--- a/src/configfile.h	Thu Oct 26 22:13:28 2000 +0100
+++ b/src/configfile.h	Thu Oct 26 22:21:13 2000 +0100
@@ -3,7 +3,7 @@
 
   Common declarations and handling of the configuration file.
 
-  $Id: configfile.h 155 2000-06-24 20:28:01Z bears $
+  $Id: configfile.h 227 2000-10-26 21:21:13Z bears $
 */
 
 #ifndef CONFIGFILE_H
@@ -61,6 +61,12 @@
 /* Return Path: header contents */
 const char * Cfg_pathHeader( void );
 
+/* Return domain for generated From: lines */
+const char * Cfg_fromDomain( void );
+
+/* Return default Organization: contents */
+const char * Cfg_organization( void );
+
 void Cfg_read( void );
 
 /* Get a new iterator for get group patterns for the given server */