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_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
Usage of this include