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 = "";

Defined variables

MAILER defined in line 49; used 4 times
PAGER defined in line 52; never used
ROOTID defined in line 22; never used
SHELL defined in line 45; used 1 times
  • in line 44
SccsId defined in line 6; never used
SigTrap defined in line 15; never used
actdirect defined in line 38; used 6 times
afline defined in line 30; never used
argvrc defined in line 34; never used
bfr defined in line 19; never used
bit defined in line 35; used 36 times
bitmap defined in line 34; used 3 times
coptbuf defined in line 29; never used
datebuf defined in line 29; used 2 times
dgid defined in line 14; never used
duid defined in line 14; never used
filename defined in line 29; never used
gid defined in line 13; never used
groupdir defined in line 33; used 17 times
header defined in line 18; never used
infile defined in line 26; used 1 times
last defined in line 35; used 1 times
line defined in line 27; never used
minartno defined in line 42; used 13 times
mode defined in line 17; never used
news defined in line 37; used 4 times
newsrc defined in line 33; never used
ngrp defined in line 27; used 4 times
ngsize defined in line 41; used 6 times
obit defined in line 35; used 16 times
outfile defined in line 25; used 1 times
rcbuf defined in line 33; used 7 times
rcline defined in line 33; never used
rcreadok defined in line 39; used 2 times
readmode defined in line 36; used 2 times
savmask defined in line 16; never used
uid defined in line 13; never used
zapng defined in line 40; used 1 times
Last modified: 1986-01-20
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1433
Valid CSS Valid XHTML 1.0 Strict