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

Defined macros

lhwrite defined in line 40; used 2 times

Usage of this include

Last modified: 1986-01-20
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 665
Valid CSS Valid XHTML 1.0 Strict