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();
Defined struct's
hbuf
defined in line
10; used 104 times
- in /usr/src/new/news/src/checknews.c line
34(2)
- in /usr/src/new/news/src/control.c line
37-41(4),
139(2),
168(2),
244(2),
289(2),
334(2),
436(2),
479(2),
545(2),
552(2),
569(2),
583(2),
629(2),
708(2)
- in /usr/src/new/news/src/digest.c line
36(2)
- in /usr/src/new/news/src/expire.c line
92(2),
783(2)
- in /usr/src/new/news/src/funcs2.c line
222(2),
311(2)
- in /usr/src/new/news/src/header.c line
36(2),
152(2),
273(2),
332(2),
643(2)
- in /usr/src/new/news/src/iextern.c line
16(2)
- in /usr/src/new/news/src/ifuncs.c line
38(2),
471(2),
609(2),
678(2),
887(2),
1145(2)
- in /usr/src/new/news/src/inews.c line
122(2),
139(2)
- in /usr/src/new/news/src/params.h line
64(2)
- in /usr/src/new/news/src/readr.c line
63(2)
- in /usr/src/new/news/src/rextern.c line
18(2)
- in /usr/src/new/news/src/rfuncs.c line
242(2),
459(2),
481(2)
- in /usr/src/new/news/src/rfuncs2.c line
21(2),
54-56(4),
157(2),
334-336(4),
389(2)
- in /usr/src/new/news/src/visual.c line
164-165(4),
1256(2),
1314(2)
Defined macros
NUNREC
defined in line
7; used 10 times
Usage of this include