|
|
1.1 root 1: /*
2: * iextern - external definitions for inews.
3: */
4: /*LINTLIBRARY*/
5:
6: #ifdef SCCSID
7: static char *SccsId = "@(#)iextern.c 2.18 9/24/87";
8: #endif /* SCCSID */
9:
10: #include "iparams.h"
11:
12: int uid, gid; /* real user/group I.D. */
13: int duid, dgid; /* effective user/group I.D. */
14: int SigTrap; /* set if signal trapped */
15: int savmask; /* old umask */
16: int mode; /* mode of news program */
17: struct hbuf header; /* general-use header structure */
18: char bfr[LBUFLEN]; /* general-use scratch area */
19: char nbuf[LBUFLEN]; /* local newsgroup buffer */
20: char filename[BUFLEN]; /* general-use file name */
21: char not_here[SBUFLEN]; /* name of system not to xmit to */
22:
23: #ifndef ROOTID
24: int ROOTID; /* special users id # */
25: #endif
26:
27: char *DFLTNG = "general"; /* default newsgroup */
28: FILE *infp; /* input file-pointer */
29: FILE *actfp; /* active newsgroups file pointer */
30: int tty; /* set if infp is a tty */
31: char *PARTIAL = "dead.article"; /* place to save partial news */
32: char *SHELL = "/bin/sh"; /* shell for inews to use */
33: int is_ctl; /* true for a control message */
34: char is_mod[NAMELEN]; /* contains newsgroup if moderated */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.