# 2.11BSD#431 - /usr/src/new/rn/ng.h

##### Variables

    checkcount        X
    docheckwhen       X
    mailcall          X
    mailcount         X

##### Macros

    NG_ASK            X
    NG_ERROR          X
    NG_MINUS          X
    NG_NORM           X

       1: /* $Header: ng.h,v 4.3 85/05/01 11:44:29 lwall Exp $
       2:  *
       3:  * $Log:	ng.h,v $
       4:  * Revision 4.3  85/05/01  11:44:29  lwall
       5:  * Baseline for release with 4.3bsd.
       6:  *
       7:  */
       8:
       9: EXT ART_NUM art INIT(0);    /* current or prospective article # */
      10:
      11: EXT int checkcount INIT(0); /* how many articles have we read */
      12:             /*   in the current newsgroup since */
      13:             /*   the last checkpoint? */
      14: EXT int docheckwhen INIT(20);   /* how often to do checkpoint */
      15:
      16: #ifdef MAILCALL
      17: EXT int mailcount INIT(0);          /* check for mail when 0 mod 10 */
      18: #endif
      19: EXT char *mailcall INIT(nullstr);
      20:
      21: EXT bool forcelast INIT(FALSE);         /* ought we show "End of newsgroup"? */
      22: EXT bool forcegrow INIT(FALSE);     /* do we want to recalculate size */
      23:                     /* of newsgroup, e.g. after posting? */
      24:
      25: #define NG_ERROR -1
      26: #define NG_NORM 0
      27: #define NG_ASK 1
      28: #define NG_MINUS 2
      29:
      30: void    ng_init();
      31: int do_newsgroup();
      32: int art_switch();
      33: #ifdef MAILCALL
      34:     void    setmail();
      35: #endif
      36: void    setdfltcmd();

#### Defined variables

checkcount defined in line 11; used 6 times

- in /usr/src/new/rn/art.c line 524-533(4)
- in /usr/src/new/rn/bits.c line 243
- in /usr/src/new/rn/ng.c line 248

docheckwhen defined in line 14; used 4 times

- in /usr/src/new/rn/art.c line 528-530(2)
- in /usr/src/new/rn/sw.c line 187, 378

mailcall defined in line 19; used 4 times

- in /usr/src/new/rn/art.c line 811
- in /usr/src/new/rn/ng.c line 455, 1013-1015(2)

mailcount defined in line 17; used 4 times

- in /usr/src/new/rn/final.c line 212
- in /usr/src/new/rn/ng.c line 1008, 1017
- in /usr/src/new/rn/ngstuff.c line 73

#### Defined macros

NG_ASK defined in line 27; used 1 times

- in /usr/src/new/rn/ng.c line 799

NG_ERROR defined in line 25; never used
NG_MINUS defined in line 28; used 1 times

- in /usr/src/new/rn/ng.c line 593

NG_NORM defined in line 26; used 2 times

- in /usr/src/new/rn/ng.c line 65, 138

#### Usage of this include

ng.h used 13 times

- in /usr/src/new/rn/art.c line 33
- in /usr/src/new/rn/artsrch.c line 20
- in /usr/src/new/rn/bits.c line 30
- in /usr/src/new/rn/cheat.c line 13
- in /usr/src/new/rn/final.c line 13
- in /usr/src/new/rn/init.c line 48
- in /usr/src/new/rn/intrp.c line 31
- in /usr/src/new/rn/kfile.c line 23
- in /usr/src/new/rn/ng.c line 53
- in /usr/src/new/rn/ngstuff.c line 19
- in /usr/src/new/rn/respond.c line 29
- in /usr/src/new/rn/rn.c line 49
- in /usr/src/new/rn/sw.c line 21

Last modified: 1987-03-16 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 474 |