1: /*
2: * rextern - external definitions for readnews
3: */
4:
5: #ifdef SCCSID
6: static char *SccsId = "@(#)rextern.c 2.15 4/16/85";
7: #endif /* SCCSID */
8:
9: /*LINTLIBRARY*/
10:
11: #include "rparams.h"
12:
13: int uid, gid; /* real user/group I.D. */
14: int duid, dgid; /* effective user/group I.D. */
15: int SigTrap; /* set if signal trapped */
16: int savmask; /* old umask */
17: int mode; /* mode of news program */
18: struct hbuf ; /* general-use header structure */
19: char bfr[LBUFLEN]; /* general-use scratch area */
20:
21: #ifndef ROOTID
22: int ROOTID; /* special users id # */
23: #endif
24:
25: char *outfile = "/tmp/M1XXXXXX"; /* output file for -M and -c */
26: char *infile = "/tmp/M2XXXXXX"; /* -T output from Mail */
27: int ngrp, line = -1;
28:
29: char filename[BUFLEN], coptbuf[BUFLEN], datebuf[BUFLEN];
30: char afline[BUFLEN];
31: FILE *rcfp, *actfp;
32: time_t atime;
33: char newsrc[BUFLEN], groupdir[BUFLEN], *rcline[LINES], rcbuf[LBUFLEN];
34: char *bitmap, *argvrc[LINES];
35: long bit, obit, last;
36: int readmode = NEXT;
37: int news = 0; /* Was there any news to read */
38: int actdirect = FORWARD; /* read direction in ACTIVE file */
39: int rcreadok = FALSE; /* NEWSRC has been read OK */
40: int zapng = FALSE; /* ! out this newsgroup on next updaterc */
41: long ngsize; /* max article # in this newsgroup */
42: long minartno; /* min article # in this newsgroup */
43:
44: #ifndef SHELL
45: char *SHELL;
46: #endif
47:
48: #ifndef MAILER
49: char *MAILER;
50: #endif
51:
52: char * = "";
Defined variables
defined in line
52;
never used
SHELL
defined in line
45; used 1 times
SccsId
defined in line
6;
never used
bfr
defined in line
19;
never used
bit
defined in line
35; used 36 times
- in /usr/src/new/news/src/visual.c line
73,
268,
385,
576,
585,
597-600(3),
680-681(3),
711,
721,
820-824(2),
844-848(2),
895,
1075,
1087(2),
1098-1106(4),
1115,
1141-1151(7),
1161,
1182,
1868
dgid
defined in line
14;
never used
duid
defined in line
14;
never used
gid
defined in line
13;
never used
groupdir
defined in line
33; used 17 times
- in /usr/src/new/news/src/visual.c line
73,
497,
577-580(3),
812-815(3),
824,
1115,
1128-1131(2),
1193,
1213,
1227,
1399,
1867
defined in line
18;
never used
last
defined in line
35; used 1 times
line
defined in line
27;
never used
mode
defined in line
17;
never used
news
defined in line
37; used 4 times
ngrp
defined in line
27; used 4 times
obit
defined in line
35; used 16 times
- in /usr/src/new/news/src/visual.c line
215,
453,
576,
586-587(2),
604,
722,
821-822(2),
898,
1030,
1075,
1152,
1162,
1182,
1807
rcbuf
defined in line
33; used 7 times
uid
defined in line
13;
never used
zapng
defined in line
40; used 1 times