home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume23 / trn / part14 / ng.h < prev    next >
C/C++ Source or Header  |  1991-08-22  |  1KB  |  40 lines

  1. /* $Header: ng.h,v 4.3.3.1 91/01/16 03:18:20 davison Trn $
  2.  *
  3.  * $Log:    ng.h,v $
  4.  * Revision 4.3.3.1  91/01/16  03:18:20  davison
  5.  * Added optional prototyping.
  6.  * 
  7.  * Revision 4.3  85/05/01  11:44:29  lwall
  8.  * Baseline for release with 4.3bsd.
  9.  * 
  10.  */
  11.  
  12. EXT ART_NUM art INIT(0);    /* current or prospective article # */
  13.  
  14. EXT int checkcount INIT(0);    /* how many articles have we read */
  15.             /*   in the current newsgroup since */
  16.             /*   the last checkpoint? */
  17. EXT int docheckwhen INIT(20);    /* how often to do checkpoint */
  18.  
  19. #ifdef MAILCALL
  20. EXT int mailcount INIT(0);            /* check for mail when 0 mod 10 */
  21. #endif
  22. EXT char *mailcall INIT(nullstr);
  23.  
  24. EXT bool forcelast INIT(FALSE);            /* ought we show "End of newsgroup"? */
  25. EXT bool forcegrow INIT(FALSE);        /* do we want to recalculate size */
  26.                     /* of newsgroup, e.g. after posting? */
  27.  
  28. #define NG_ERROR -1
  29. #define NG_NORM 0
  30. #define NG_ASK 1
  31. #define NG_MINUS 2
  32.  
  33. void    ng_init ANSI((void));
  34. int    do_newsgroup ANSI((char *));
  35. int    art_switch ANSI((void));
  36. #ifdef MAILCALL
  37.     void    setmail ANSI((void));
  38. #endif
  39. void    setdfltcmd ANSI((void));
  40.