comparison src/protocol.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 8b9366fc1361
children 166008a80f03
comparison
equal deleted inserted replaced
149:bfeea2bc09b6 150:1c7303c71f66
2 protocol.h 2 protocol.h
3 3
4 Functions related with the NNTP protocol which are useful for both 4 Functions related with the NNTP protocol which are useful for both
5 the server and the client. 5 the server and the client.
6 6
7 $Id: protocol.h 217 2000-09-23 10:40:35Z enz $ 7 $Id: protocol.h 227 2000-10-26 21:21:13Z bears $
8 */ 8 */
9 9
10 #ifndef PRT_H 10 #ifndef PRT_H
11 #define PRT_H 11 #define PRT_H
12 12
109 Prt_genMsgId( Str msgId, const char *from, const char *suffix ); 109 Prt_genMsgId( Str msgId, const char *from, const char *suffix );
110 110
111 void 111 void
112 Prt_genPathHdr( Str pathHdr, const char *from ); 112 Prt_genPathHdr( Str pathHdr, const char *from );
113 113
114 Bool
115 Prt_genFromHdr( Str fromHdr );
116
114 #endif 117 #endif