# 2.11BSD#431 - /usr/src/new/rn/rcstuff.h

##### Variables

    rcchar            X
    rcline            X
    rcnums            X

##### Macros

    TR_BOGUS          X
    TR_JUNK           X
    TR_NONE           X
    TR_ONE            X
    TR_UNSUB          X

       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

rcchar defined in line 20; used 32 times

- in /usr/src/new/rn/bits.c line 92, 153
- in /usr/src/new/rn/ng.c line 723, 792
- in /usr/src/new/rn/ngdata.c line 107-108(2)
- in /usr/src/new/rn/rcln.c line 96, 128, 203, 221, 245, 288, 382, 402, 446
- in /usr/src/new/rn/rcstuff.c line 141, 154, 162, 366, 401, 433, 478, 490(2), 502, 634, 646(2), 658, 691, 948
- in /usr/src/new/rn/rn.c line 379

rcline defined in line 9; used 94 times

- in /usr/src/new/rn/bits.c line 90, 137-152(7), 502
- in /usr/src/new/rn/ngdata.c line 91, 218
- in /usr/src/new/rn/ngsrch.c line 96, 103
- in /usr/src/new/rn/rcln.c line 41, 47-50(4), 96-100(3), 128-135(5), 174-176(3), 203-207(3), 213, 221, 245-249(3), 266-268(3), 288-289(2), 333, 345-348(2), 376-377(2), 402-406(3), 415-424(4), 433-440(5), 446-447(2)
- in /usr/src/new/rn/rcstuff.c line 119-121(2), 129, 145-155(5), 193, 199, 430-432(3), 476, 488(2), 500, 632, 644(2), 656, 691-697(3), 719, 729, 840, 947, 954-956(2)
- in /usr/src/new/rn/rn.c line 159, 168, 378

rcnums defined in line 21; used 46 times

- in /usr/src/new/rn/bits.c line 91, 137, 152, 502
- in /usr/src/new/rn/ngdata.c line 92
- in /usr/src/new/rn/rcln.c line 50, 70, 97-100(2), 128, 176, 199-207(3), 245, 268, 289, 345-348(2), 377, 403-406(2), 415-426(4), 435, 447
- in /usr/src/new/rn/rcstuff.c line 142, 155-156(2), 429-432(3), 479, 491(2), 503, 635, 647(2), 659, 691, 697, 946-947(2)

#### Defined macros

TR_BOGUS defined in line 17; used 10 times

- in /usr/src/new/rn/ngdata.c line 109, 138-142(2)
- in /usr/src/new/rn/rcln.c line 92, 332-335(2)
- in /usr/src/new/rn/rcstuff.c line 756-759(2), 781, 809

TR_JUNK defined in line 18; used 1 times

- in /usr/src/new/rn/rcstuff.c line 140

TR_NONE defined in line 14; used 23 times

- in /usr/src/new/rn/bits.c line 194
- in /usr/src/new/rn/ng.c line 168, 180
- in /usr/src/new/rn/ngsrch.c line 85-92(4)
- in /usr/src/new/rn/rcln.c line 178, 217, 270, 284
- in /usr/src/new/rn/rcstuff.c line 170, 179, 417, 434
- in /usr/src/new/rn/rn.c line 101, 158, 171, 219-221(2), 228, 250, 376

TR_ONE defined in line 13; used 4 times

- in /usr/src/new/rn/rcstuff.c line 194, 200
- in /usr/src/new/rn/rn.c line 171, 181

TR_UNSUB defined in line 15; used 8 times

- in /usr/src/new/rn/addng.c line 78-82(2)
- in /usr/src/new/rn/bits.c line 155
- in /usr/src/new/rn/rcln.c line 383
- in /usr/src/new/rn/rcstuff.c line 163, 719, 752
- in /usr/src/new/rn/rn.c line 381

#### Usage of this include

rcstuff.h used 13 times

- in /usr/src/new/rn/addng.c line 27
- in /usr/src/new/rn/art.c line 37
- in /usr/src/new/rn/bits.c line 24
- in /usr/src/new/rn/final.c line 17
- in /usr/src/new/rn/init.c line 28
- in /usr/src/new/rn/intrp.c line 34
- in /usr/src/new/rn/kfile.c line 27
- in /usr/src/new/rn/ng.c line 37
- in /usr/src/new/rn/ngdata.c line 12
- in /usr/src/new/rn/ngsrch.c line 11
- in /usr/src/new/rn/rcln.c line 21
- in /usr/src/new/rn/rcstuff.c line 36
- in /usr/src/new/rn/rn.c line 35

Last modified: 1987-03-16 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 526 |