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
79,
140
- in /usr/src/new/rn/ng.c line
669,
738
- in /usr/src/new/rn/ngdata.c line
67-68(2)
- in /usr/src/new/rn/rcln.c line
93,
125,
200,
218,
242,
285,
379,
399,
443
- in /usr/src/new/rn/rcstuff.c line
122,
135,
143,
303,
338,
370,
415,
427(2),
439,
562,
574(2),
586,
619,
876
- 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
77,
124-139(7),
490
- in /usr/src/new/rn/ngdata.c line
51,
161
- in /usr/src/new/rn/ngsrch.c line
96,
103
- in /usr/src/new/rn/rcln.c line
38,
44-47(4),
93-97(3),
125-132(5),
171-173(3),
200-204(3),
210,
218,
242-246(3),
263-265(3),
285-286(2),
330,
342-345(2),
373-374(2),
399-403(3),
412-421(4),
430-437(5),
443-444(2)
- in /usr/src/new/rn/rcstuff.c line
100-102(2),
110,
126-136(5),
174,
180,
367-369(3),
413,
425(2),
437,
560,
572(2),
584,
619-625(3),
647,
657,
768,
875,
882-884(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
78,
124,
139,
490
- in /usr/src/new/rn/ngdata.c line
52
- in /usr/src/new/rn/rcln.c line
47,
67,
94-97(2),
125,
173,
196-204(3),
242,
265,
286,
342-345(2),
374,
400-403(2),
412-423(4),
432,
444
- in /usr/src/new/rn/rcstuff.c line
123,
136-137(2),
366-369(3),
416,
428(2),
440,
563,
575(2),
587,
619,
625,
874-875(2)
Defined macros
TR_NONE
defined in line
14; used 23 times
- in /usr/src/new/rn/bits.c line
181
- in /usr/src/new/rn/ng.c line
142,
154
- in /usr/src/new/rn/ngsrch.c line
85-92(4)
- in /usr/src/new/rn/rcln.c line
175,
214,
267,
281
- in /usr/src/new/rn/rcstuff.c line
151,
160,
354,
371
- in /usr/src/new/rn/rn.c line
101,
158,
171,
219-221(2),
228,
250,
376
Usage of this include