home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / trn_12.zip / src / ng.h < prev    next >
C/C++ Source or Header  |  1993-12-04  |  2KB  |  56 lines

  1. /* $Id: ng.h,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  2.  *
  3.  * $Log: ng.h,v $
  4.  * Revision 4.4  1991/09/09  20:23:31  sob
  5.  * release 4.4
  6.  *
  7.  *
  8.  * 
  9.  */
  10. /* This software is Copyright 1991 by Stan Barber. 
  11.  *
  12.  * Permission is hereby granted to copy, reproduce, redistribute or otherwise
  13.  * use this software as long as: there is no monetary profit gained
  14.  * specifically from the use or reproduction of this software, it is not
  15.  * sold, rented, traded or otherwise marketed, and this copyright notice is
  16.  * included prominently in any copy made. 
  17.  *
  18.  * The author make no claims as to the fitness or correctness of this software
  19.  * for any use whatsoever, and it is provided as is. Any use of this software
  20.  * is at the user's own risk. 
  21.  */
  22.  
  23. EXT ART_NUM art INIT(0);    /* current or prospective article # */
  24.  
  25. EXT int checkcount INIT(0);    /* how many articles have we read */
  26.             /*   in the current newsgroup since */
  27.             /*   the last checkpoint? */
  28. EXT int docheckwhen INIT(20);    /* how often to do checkpoint */
  29.  
  30. #ifdef MAILCALL
  31. EXT int mailcount INIT(0);        /* check for mail when 0 mod 10 */
  32. #endif
  33. EXT char *mailcall INIT(nullstr);
  34. #ifdef SERVER
  35. EXT bool isfirstart INIT(TRUE);
  36. #endif
  37. EXT bool forcelast INIT(FALSE);        /* ought we show "End of newsgroup"? */
  38. EXT bool forcegrow INIT(FALSE);        /* do we want to recalculate size */
  39.                     /* of newsgroup, e.g. after posting? */
  40.  
  41. #define NG_ERROR -1
  42. #define NG_NORM 0
  43. #define NG_ASK 1
  44. #define NG_MINUS 2
  45. #define NG_SELPRIOR 3
  46. #define NG_SELNEXT 4
  47.  
  48. void    ng_init ANSI((void));
  49. int    do_newsgroup ANSI((char *));
  50. int    art_switch ANSI((void));
  51. #ifdef MAILCALL
  52.     void    setmail ANSI((void));
  53. #endif
  54. void    setdfltcmd ANSI((void));
  55. char    ask_catchup ANSI((void));
  56.