|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T r
Length: 1334 (0x536) Types: TextFile Names: »rextern.c«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦373604645⟧ »EurOpenD3/news/bnews.2.11/src.tar.Z« └─⟦3beb569ac⟧ └─⟦this⟧ »src/rextern.c«
/* * rextern - external definitions for readnews */ #ifdef SCCSID static char *SccsId = "@(#)rextern.c 2.18 9/12/89"; #endif /* SCCSID */ /*LINTLIBRARY*/ #include "rparams.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 */ #ifndef ROOTID int ROOTID; /* special users id # */ #endif char *outfile = "/tmp/M1XXXXXX"; /* output file for -M and -c */ char *infile = "/tmp/M2XXXXXX"; /* -T output from Mail */ int ngrp, line = -1; char filename[BUFLEN]; char afline[BUFLEN]; FILE *rcfp, *actfp; time_t atime; char newsrc[BUFLEN], groupdir[BUFLEN], *rcline[LINES], rcbuf[LBUFLEN]; char *bitmap, *argvrc[LINES]; long bit, obit, last; int readmode = NEXT; int news = 0; /* Was there any news to read */ int actdirect = FORWARD; /* read direction in ACTIVE file */ int rcreadok = FALSE; /* NEWSRC has been read OK */ int zapng = FALSE; /* ! out this newsgroup on next updaterc */ long ngsize; /* max article # in this newsgroup */ long minartno; /* min article # in this newsgroup */ #ifndef SHELL char *SHELL; #endif char *MAILER; char *PAGER = "";