# 2.11BSD#431 - /usr/src/new/nntp/server/globals.c

##### Variables

    accessfile        X
    activefile        X
    art_array         X
    art_ptr           X
    arts_acsd         X
    canpost           X
    canread           X
    canxfer           X
    gid_poster        X
    group_array       X
    grps_acsd         X
    historyfile       X
    inews             X
    ingroup           X
    ngdatefile        X
    ngpermcount       X
    ngpermlist        X
    num_arts          X
    num_groups        X
    rnews             X
    spooldir          X
    uid_poster        X

       1: #ifndef lint
       2: static char *sccsid = "@(#)globals.c	1.4	(Berkeley) 7/17/87";
       3: #endif
       4:
       5: /*
       6:  * Common variables.
       7:  */
       8:
       9: #include "common.h"
      10:
      11: /*
      12:  * Variables initialized from ../common/conf.h
      13:  */
      14:
      15: char    spooldir[] = SPOOLDIR;
      16: char    activefile[] = ACTIVE_FILE;
      17: char    accessfile[] = ACCESS_FILE;
      18: char    historyfile[] = HISTORY_FILE;
      19: char    ngdatefile[] = NGDATE_FILE;
      20: char    inews[] = INEWS;
      21: char    rnews[] = RNEWS;
      22:
      23: /*
      24:  * Other random externals.
      25:  */
      26:
      27: char    **group_array;
      28: int num_groups;
      29: int ingroup = 0;
      30: int art_ptr;
      31: int num_arts;
      32: int art_array[MAX_ARTICLES];
      33: FILE    *art_fp;
      34: int uid_poster, gid_poster;
      35: int canpost, canread, canxfer;
      36: char    **ngpermlist;
      37: int ngpermcount;
      38:
      39: #ifdef LOG
      40: int arts_acsd;
      41: int grps_acsd;
      42: #endif

#### Defined variables

accessfile defined in line 17; never used
activefile defined in line 16; used 3 times

- in /usr/src/new/nntp/server/list.c line 26, 32
- in /usr/src/new/nntp/server/netaux.c line 232

art_array defined in line 32; used 10 times

- in /usr/src/new/nntp/server/group.c line 100-101(2)
- in /usr/src/new/nntp/server/misc.c line 471
- in /usr/src/new/nntp/server/nextlast.c line 61, 78
- in /usr/src/new/nntp/server/scandir.c line 42-47(2)
- in /usr/src/new/nntp/server/xhdr.c line 97, 109, 116

art_ptr defined in line 30; used 17 times

- in /usr/src/new/nntp/server/group.c line 90
- in /usr/src/new/nntp/server/nextlast.c line 46(2), 53(2), 60-61(3), 71-78(4), 85
- in /usr/src/new/nntp/server/xhdr.c line 91(2), 97-98(2)

arts_acsd defined in line 40; used 3 times

- in /usr/src/new/nntp/server/misc.c line 330
- in /usr/src/new/nntp/server/serve.c line 94, 271

canpost defined in line 35; used 4 times

- in /usr/src/new/nntp/server/post.c line 20
- in /usr/src/new/nntp/server/serve.c line 128, 182-185(2)

canread defined in line 35; used 5 times

- in /usr/src/new/nntp/server/group.c line 32
- in /usr/src/new/nntp/server/nextlast.c line 24
- in /usr/src/new/nntp/server/serve.c line 128-133(2)
- in /usr/src/new/nntp/server/xhdr.c line 47

canxfer defined in line 35; used 2 times

- in /usr/src/new/nntp/server/serve.c line 128-133(2)

gid_poster defined in line 34; used 4 times

- in /usr/src/new/nntp/server/serve.c line 151-154(2)
- in /usr/src/new/nntp/server/spawn.c line 124, 148

group_array defined in line 27; never used
grps_acsd defined in line 41; used 4 times

- in /usr/src/new/nntp/server/group.c line 86
- in /usr/src/new/nntp/server/serve.c line 94, 269-271(2)

historyfile defined in line 18; used 9 times

- in /usr/src/new/nntp/server/misc.c line 144-147(2), 155-159(2), 178-182(2)
- in /usr/src/new/nntp/server/newnews.c line 136-142(3)

inews defined in line 20; used 1 times

- in /usr/src/new/nntp/server/post.c line 42

ingroup defined in line 29; used 3 times

- in /usr/src/new/nntp/server/group.c line 92
- in /usr/src/new/nntp/server/nextlast.c line 31
- in /usr/src/new/nntp/server/xhdr.c line 81

ngdatefile defined in line 19; used 2 times

- in /usr/src/new/nntp/server/newgroups.c line 34-37(2)

ngpermcount defined in line 37; used 7 times

- in /usr/src/new/nntp/server/group.c line 54-56(2)
- in /usr/src/new/nntp/server/list.c line 43-45(2)
- in /usr/src/new/nntp/server/misc.c line 274, 301
- in /usr/src/new/nntp/server/serve.c line 145

ngpermlist defined in line 36; used 4 times

- in /usr/src/new/nntp/server/group.c line 56
- in /usr/src/new/nntp/server/list.c line 45
- in /usr/src/new/nntp/server/misc.c line 301
- in /usr/src/new/nntp/server/serve.c line 145

num_arts defined in line 31; used 15 times

- in /usr/src/new/nntp/server/group.c line 89, 99-101(4)
- in /usr/src/new/nntp/server/misc.c line 470
- in /usr/src/new/nntp/server/nextlast.c line 46, 53, 71
- in /usr/src/new/nntp/server/scandir.c line 32, 42-49(3)
- in /usr/src/new/nntp/server/xhdr.c line 91, 109

num_groups defined in line 28; used 5 times

- in /usr/src/new/nntp/server/group.c line 45
- in /usr/src/new/nntp/server/main.c line 46
- in /usr/src/new/nntp/server/netaux.c line 237
- in /usr/src/new/nntp/server/serve.c line 157-158(2)

rnews defined in line 21; used 1 times

- in /usr/src/new/nntp/server/ihave.c line 46

sccsid defined in line 2; never used
spooldir defined in line 15; used 4 times

- in /usr/src/new/nntp/server/group.c line 65, 74
- in /usr/src/new/nntp/server/misc.c line 220
- in /usr/src/new/nntp/server/newnews.c line 401

uid_poster defined in line 34; used 5 times

- in /usr/src/new/nntp/server/post.c line 31
- in /usr/src/new/nntp/server/serve.c line 150-154(2)
- in /usr/src/new/nntp/server/spawn.c line 124, 147

Last modified: 1987-07-18 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1230 |