1: /*
2: * iextern - external definitions for inews.
3: */
4:
5: #ifdef SCCSID
6: static char *SccsId = "@(#)iextern.c 6.2 5/17/86";
7: #endif /* SCCSID */
8:
9: #include "iparams.h"
10:
11: int uid, gid; /* real user/group I.D. */
12: int duid, dgid; /* effective user/group I.D. */
13: int SigTrap; /* set if signal trapped */
14: int savmask; /* old umask */
15: int mode; /* mode of news program */
16: struct hbuf ; /* general-use header structure */
17: char bfr[LBUFLEN]; /* general-use scratch area */
18: char nbuf[LBUFLEN]; /* local newsgroup buffer */
19: char filename[BUFLEN]; /* general-use file name */
20:
21: #ifndef ROOTID
22: int ROOTID; /* special users id # */
23: #endif
24:
25: char *DFLTNG = "general"; /* default newsgroup */
26: FILE *infp; /* input file-pointer */
27: FILE *actfp; /* active newsgroups file pointer */
28: int tty; /* set if infp is a tty */
29: char *PARTIAL = "dead.article"; /* place to save partial news */
30: #ifndef SHELL
31: char *SHELL = "/bin/sh"; /* shell for inews to use */
32: #endif
33: int is_ctl; /* true for a control message */
Defined variables
SHELL
defined in line
31; used 8 times
SccsId
defined in line
6;
never used
SigTrap
defined in line
13; used 24 times
- in /usr/src/new/news/src/readnews.c line
194,
226-227(2),
233
- in /usr/src/new/news/src/readr.c line
141,
163,
193-196(2),
973,
1022-1023(2),
1032,
1110,
1172
- in /usr/src/new/news/src/rfuncs.c line
527
- in /usr/src/new/news/src/rfuncs2.c line
140-149(4),
450
- in /usr/src/new/news/src/visual.c line
190,
208,
222,
1118
bfr
defined in line
17; used 101 times
- in /usr/src/new/news/src/pathinit.c line
80(2),
124-127(4),
135-136(2),
144-148(3),
182-189(6)
- in /usr/src/new/news/src/readnews.c line
87-88(2),
231(3)
- in /usr/src/new/news/src/readr.c line
166-178(5),
382-390(4),
541-544(2),
571-572(2),
580-585(2),
744-745(2),
807-808(2),
1029-1030(3)
- in /usr/src/new/news/src/rfuncs.c line
55-64(4),
70,
94,
311-324(6),
331,
337,
419-427(5),
638-642(3),
649-653(3)
- in /usr/src/new/news/src/rfuncs2.c line
140-143(4),
176-180(3),
369-375(4),
403-414(5)
- in /usr/src/new/news/src/visual.c line
573-581(4),
647-648(2),
773-774(2),
813-816(2),
837-838(2),
939-940(2),
1018-1019(2)
dgid
defined in line
12; used 1 times
duid
defined in line
12; used 1 times
filename
defined in line
19; used 30 times
- in /usr/src/new/news/src/expire.c line
344-345(3),
440-442(3),
457,
468,
498,
521,
530-531(2),
537,
571-574(2),
592,
636-647(5)
- in /usr/src/new/news/src/visual.c line
73,
221,
573-574(2),
884,
1115-1121(3),
1637
gid
defined in line
11; used 2 times
defined in line
16; used 23 times
mode
defined in line
15; used 7 times
nbuf
defined in line
18; used 20 times
tty
defined in line
28;
never used
uid
defined in line
11; used 10 times