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/nntp/rrn/bits.c line
79,
140
- in /usr/src/new/nntp/rrn/ng.c line
688,
756
- in /usr/src/new/nntp/rrn/ngdata.c line
104-105(2)
- in /usr/src/new/nntp/rrn/rcln.c line
87,
119,
194,
212,
236,
279,
373,
393,
436
- in /usr/src/new/nntp/rrn/rcstuff.c line
130,
143,
151,
324,
359,
391,
436,
448(2),
460,
583,
595(2),
607,
640,
897
- in /usr/src/new/nntp/rrn/rn.c line
376
rcline
defined in line
9; used 94 times
- in /usr/src/new/nntp/rrn/bits.c line
77,
124-139(7),
473
- in /usr/src/new/nntp/rrn/ngdata.c line
88,
198
- in /usr/src/new/nntp/rrn/ngsrch.c line
96,
103
- in /usr/src/new/nntp/rrn/rcln.c line
32,
38-41(4),
87-91(3),
119-126(5),
165-167(3),
194-198(3),
204,
212,
236-240(3),
257-259(3),
279-280(2),
324,
336-339(2),
367-368(2),
393-397(3),
406-415(4),
424-430(5),
436-437(2)
- in /usr/src/new/nntp/rrn/rcstuff.c line
108-110(2),
118,
134-144(5),
182,
188,
388-390(3),
434,
446(2),
458,
581,
593(2),
605,
640-646(3),
668,
678,
789,
896,
903-905(2)
- in /usr/src/new/nntp/rrn/rn.c line
156,
165,
375
rcnums
defined in line
21; used 46 times
- in /usr/src/new/nntp/rrn/bits.c line
78,
124,
139,
473
- in /usr/src/new/nntp/rrn/ngdata.c line
89
- in /usr/src/new/nntp/rrn/rcln.c line
41,
61,
88-91(2),
119,
167,
190-198(3),
236,
259,
280,
336-339(2),
368,
394-397(2),
406-417(4),
426,
437
- in /usr/src/new/nntp/rrn/rcstuff.c line
131,
144-145(2),
387-390(3),
437,
449(2),
461,
584,
596(2),
608,
640,
646,
895-896(2)
Defined macros
TR_NONE
defined in line
14; used 23 times
- in /usr/src/new/nntp/rrn/bits.c line
181
- in /usr/src/new/nntp/rrn/ng.c line
145,
157
- in /usr/src/new/nntp/rrn/ngsrch.c line
85-92(4)
- in /usr/src/new/nntp/rrn/rcln.c line
169,
208,
261,
275
- in /usr/src/new/nntp/rrn/rcstuff.c line
159,
168,
375,
392
- in /usr/src/new/nntp/rrn/rn.c line
98,
155,
168,
216-218(2),
225,
247,
373
Usage of this include