Commit | Line | Data |
---|---|---|
95f51977 C |
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 header; /* 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 *PAGER = ""; |