|
|
1.1 root 1: /*
2: * header.h - Article header format
3: */
4:
5: /* @(#)header.h 2.21 10/7/87 */
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[LBUFLEN]; /* 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: char supersedes[BUFLEN]; /* Supersedes: */
34: #ifdef DOXREFS
35: char xref[BUFLEN]; /* Xref: */
36: #endif /* DOXREFS */
37: char *unrec[NUNREC]; /* unrecognized lines */
38: };
39:
40: #define hwrite(hp,fp) ihwrite(hp,fp,0)
41: #define lhwrite(hp,fp) ihwrite(hp,fp,1)
42:
43: char *oident();
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.