|
|
1.1 root 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 header; /* 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 */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.