1: /* $Header: rcstuff.h,v 4.3 85/05/01 11:46:49 lwall Exp $
   2:  *
   3:  * $Log:	rcstuff.h,v $
   4:  * Revision 4.3  85/05/01  11:46:49  lwall
   5:  * Baseline for release with 4.3bsd.
   6:  *
   7:  */
   8: 
   9: EXT char *rcline[MAXRCLINE];/* pointers to lines of .newsrc */
  10: EXT ART_UNREAD toread[MAXRCLINE];
  11:             /* number of articles to be read in newsgroup */
  12:             /* <0 => invalid or unsubscribed newsgroup */
  13: #define TR_ONE ((ART_UNREAD) 1)
  14: #define TR_NONE ((ART_UNREAD) 0)
  15: #define TR_UNSUB ((ART_UNREAD) -1)
  16:             /* keep this one as -1, some tests use >= TR_UNSUB */
  17: #define TR_BOGUS ((ART_UNREAD) -2)
  18: #define TR_JUNK ((ART_UNREAD) -3)
  19: 
  20: EXT char rcchar[MAXRCLINE]; /* holds the character : or ! while spot is \0 */
  21: EXT char rcnums[MAXRCLINE]; /* offset from rcline to numbers on line */
  22: EXT ACT_POS softptr[MAXRCLINE];
  23:             /* likely ptr to active file entry for newsgroup */
  24: EXT bool paranoid INIT(FALSE);  /* did we detect some inconsistency in .newsrc? */
  25: 
  26: bool    rcstuff_init();
  27: bool    get_ng();   /* return TRUE if newsgroup can be found or added */
  28: NG_NUM  add_newsgroup();
  29: #ifdef RELOCATE
  30:     NG_NUM  relocate_newsgroup();   /* move newsgroup around */
  31: #endif
  32: void    list_newsgroups();
  33: NG_NUM  find_ng();  /* return index of newsgroup */
  34: void    cleanup_rc();
  35: void    sethash();
  36: int hash();
  37: void    newsrc_check();
  38: void    write_rc();
  39: void    get_old_rc();

Defined variables

rcline defined in line 9; used 94 times
rcnums defined in line 21; used 46 times

Defined macros

TR_BOGUS defined in line 17; used 10 times
TR_JUNK defined in line 18; used 1 times
TR_ONE defined in line 13; used 4 times

Usage of this include

Last modified: 1987-03-16
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2352
Valid CSS Valid XHTML 1.0 Strict