DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T i

⟦feac6b278⟧ TextFile

    Length: 1235 (0x4d3)
    Types: TextFile
    Names: »iextern.c«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦373604645⟧ »EurOpenD3/news/bnews.2.11/src.tar.Z« 
        └─⟦3beb569ac⟧ 
            └─⟦this⟧ »src/iextern.c« 

TextFile

/*
 * iextern - external definitions for inews.
 */
/*LINTLIBRARY*/

#ifdef SCCSID
static char	*SccsId = "@(#)iextern.c	2.19	11/19/87";
#endif /* SCCSID */

#include "iparams.h"

int	uid, gid;			/* real user/group I.D. */
int	duid, dgid;			/* effective user/group I.D. */
int	SigTrap;			/* set if signal trapped */
int	savmask;			/* old umask */
int	mode;				/* mode of news program */
struct hbuf header;			/* general-use header structure */
char	bfr[LBUFLEN];			/* general-use scratch area */
char	nbuf[LBUFLEN];			/* local newsgroup buffer */
char	filename[BUFLEN];		/* general-use file name */
char	not_here[SBUFLEN];		/* name of system not to xmit to */

#ifndef ROOTID
int	ROOTID;				/* special users id # */
#endif

char	*DFLTNG = "general";		/* default newsgroup */
FILE	*infp;				/* input file-pointer */
FILE	*actfp;				/* active newsgroups file pointer */
int	tty;				/* set if infp is a tty */
char	*PARTIAL = "dead.article";	/* place to save partial news */
char	*SHELL = "/bin/sh";		/* shell for inews to use	*/
int	is_ctl;				/* true for a control message */
char	is_mod[NAMELEN];		/* contains newsgroup if moderated */
int	is_mod_file_okay;		/* true if /usr/lib/news/moderators */
					/*  okays posting by the user */