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

1.1     ! root        1: /* $Header: rcstuff.h,v 4.3 85/05/01 11:46:49 lwall Exp $
        !             2:  *
        !             3:  * $Log:       rcstuff.h,v $
        !             4:  * Revision 4.3  85/05/01  11:46:49  lwall
        !             5:  * Baseline for release with 4.3bsd.
        !             6:  * 
        !             7:  */
        !             8: 
        !             9: EXT char *rcline[MAXRCLINE];/* pointers to lines of .newsrc */
        !            10: EXT ART_UNREAD toread[MAXRCLINE];
        !            11:                        /* number of articles to be read in newsgroup */
        !            12:                        /* <0 => invalid or unsubscribed newsgroup */
        !            13: #define TR_ONE ((ART_UNREAD) 1)
        !            14: #define TR_NONE ((ART_UNREAD) 0)
        !            15: #define TR_UNSUB ((ART_UNREAD) -1)
        !            16:                        /* keep this one as -1, some tests use >= TR_UNSUB */
        !            17: #define TR_BOGUS ((ART_UNREAD) -2)
        !            18: #define TR_JUNK ((ART_UNREAD) -3)
        !            19: 
        !            20: EXT char rcchar[MAXRCLINE]; /* holds the character : or ! while spot is \0 */
        !            21: EXT char rcnums[MAXRCLINE]; /* offset from rcline to numbers on line */
        !            22: EXT ACT_POS softptr[MAXRCLINE];
        !            23:                        /* likely ptr to active file entry for newsgroup */
        !            24: EXT bool paranoid INIT(FALSE); /* did we detect some inconsistency in .newsrc? */
        !            25: 
        !            26: bool   rcstuff_init();
        !            27: bool   get_ng();       /* return TRUE if newsgroup can be found or added */
        !            28: NG_NUM add_newsgroup();
        !            29: #ifdef RELOCATE
        !            30:     NG_NUM     relocate_newsgroup();   /* move newsgroup around */
        !            31: #endif
        !            32: void   list_newsgroups();
        !            33: NG_NUM find_ng();      /* return index of newsgroup */
        !            34: void   cleanup_rc();
        !            35: void   sethash();
        !            36: int    hash();
        !            37: void   newsrc_check();
        !            38: void   write_rc();
        !            39: void   get_old_rc();

unix.superglobalmegacorp.com

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