comparison 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
comparison
equal deleted inserted replaced
149:bfeea2bc09b6 150:1c7303c71f66
1 /* 1 /*
2 configfile.h 2 configfile.h
3 3
4 Common declarations and handling of the configuration file. 4 Common declarations and handling of the configuration file.
5 5
6 $Id: configfile.h 155 2000-06-24 20:28:01Z bears $ 6 $Id: configfile.h 227 2000-10-26 21:21:13Z bears $
7 */ 7 */
8 8
9 #ifndef CONFIGFILE_H 9 #ifndef CONFIGFILE_H
10 #define CONFIGFILE_H 10 #define CONFIGFILE_H
11 11
59 const char * Cfg_defaultAutoSubscribeMode( void ); 59 const char * Cfg_defaultAutoSubscribeMode( void );
60 60
61 /* Return Path: header contents */ 61 /* Return Path: header contents */
62 const char * Cfg_pathHeader( void ); 62 const char * Cfg_pathHeader( void );
63 63
64 /* Return domain for generated From: lines */
65 const char * Cfg_fromDomain( void );
66
67 /* Return default Organization: contents */
68 const char * Cfg_organization( void );
69
64 void Cfg_read( void ); 70 void Cfg_read( void );
65 71
66 /* Get a new iterator for get group patterns for the given server */ 72 /* Get a new iterator for get group patterns for the given server */
67 GroupEnum * 73 GroupEnum *
68 new_GetGrEn( const char *name ); 74 new_GetGrEn( const char *name );