Annotation of 43BSD/contrib/rn/ng.h, revision 1.1

1.1     ! root        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();

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.