Annotation of 43BSD/contrib/news/src/header.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * header.h - Article header format
                      3:  */
                      4: 
                      5: /*     @(#)header.h    2.19    1/17/86 */
                      6: 
                      7: #define NUNREC 50
                      8: 
                      9: /* article header */
                     10: struct hbuf {
                     11:        char    from[BUFLEN];           /* From:                */
                     12:        char    path[PATHLEN];          /* Path:                */
                     13:        char    nbuf[BUFLEN];           /* Newsgroups:          */
                     14:        char    title[BUFLEN];          /* Subject:             */
                     15:        char    ident[BUFLEN];          /* Message-ID:          */
                     16:        char    replyto[BUFLEN];        /* Reply-To:            */
                     17:        char    followid[BUFLEN];       /* References:          */
                     18:        char    subdate[DATELEN];       /* Date: (submission)   */
                     19:        time_t  subtime;                /* subdate in secs      */
                     20:        char    expdate[DATELEN];       /* Expires:             */
                     21:        char    ctlmsg[PATHLEN];        /* Control:             */
                     22:        char    sender[BUFLEN];         /* Sender:              */
                     23:        char    followto[BUFLEN];       /* Followup-to:         */
                     24:        char    distribution[BUFLEN];   /* Distribution:        */
                     25:        char    organization[BUFLEN];   /* Organization:        */
                     26:        char    numlines[8];            /* Lines:               */
                     27:        int     intnumlines;            /* Integer version      */
                     28:        char    keywords[BUFLEN];       /* Keywords:            */
                     29:        char    summary[BUFLEN];        /* Summary:             */
                     30:        char    approved[BUFLEN];       /* Approved:            */
                     31:        char    nf_id[BUFLEN];          /* Nf-ID:               */
                     32:        char    nf_from[BUFLEN];        /* Nf-From:             */
                     33: #ifdef DOXREFS
                     34:        char    xref[BUFLEN];           /* Xref:                */
                     35: #endif /* DOXREFS */
                     36:        char    *unrec[NUNREC];         /* unrecognized lines   */
                     37: };
                     38: 
                     39: #define hwrite(hp,fp)  ihwrite(hp,fp,0)
                     40: #define lhwrite(hp,fp) ihwrite(hp,fp,1)
                     41: 
                     42: char *oident();

unix.superglobalmegacorp.com

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