home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume23
/
trn
/
part14
/
ng.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-22
|
1KB
|
40 lines
/* $Header: ng.h,v 4.3.3.1 91/01/16 03:18:20 davison Trn $
*
* $Log: ng.h,v $
* Revision 4.3.3.1 91/01/16 03:18:20 davison
* Added optional prototyping.
*
* Revision 4.3 85/05/01 11:44:29 lwall
* Baseline for release with 4.3bsd.
*
*/
EXT ART_NUM art INIT(0); /* current or prospective article # */
EXT int checkcount INIT(0); /* how many articles have we read */
/* in the current newsgroup since */
/* the last checkpoint? */
EXT int docheckwhen INIT(20); /* how often to do checkpoint */
#ifdef MAILCALL
EXT int mailcount INIT(0); /* check for mail when 0 mod 10 */
#endif
EXT char *mailcall INIT(nullstr);
EXT bool forcelast INIT(FALSE); /* ought we show "End of newsgroup"? */
EXT bool forcegrow INIT(FALSE); /* do we want to recalculate size */
/* of newsgroup, e.g. after posting? */
#define NG_ERROR -1
#define NG_NORM 0
#define NG_ASK 1
#define NG_MINUS 2
void ng_init ANSI((void));
int do_newsgroup ANSI((char *));
int art_switch ANSI((void));
#ifdef MAILCALL
void setmail ANSI((void));
#endif
void setdfltcmd ANSI((void));