1: /* mf.h - include file for mailbox filters */
   2: 
   3: #include "../h/strings.h"
   4: 
   5: #ifndef TRUE
   6: #define TRUE    1
   7: #endif	TRUE
   8: #ifndef FALSE
   9: #define FALSE   0
  10: #endif	FALSE
  11: 
  12: #ifndef NOTOK
  13: #define NOTOK   (-1)
  14: #endif	NOTOK
  15: #ifndef OK
  16: #define OK  0
  17: #endif	OK
  18: #ifndef DONE
  19: #define DONE    1
  20: #endif	DONE
  21: 
  22: #define LINESIZ 512
  23: 
  24: #define MBXMODE 0600
  25: #define TMPMODE 0600
  26: 
  27: #define OWIDTH  75      /* length of a header line */
  28: 
  29: #define HFROM   1       /* header has From: component	 */
  30: #define HSNDR   2       /* header has Sender: component  */
  31: #define HADDR   3       /* header has address component	 */
  32: #define HDATE   4       /* header has Date: component	 */
  33: #define HOTHR   5       /* header is unimportant	 */
  34: 
  35: /*  */
  36: 
  37: struct adrx {
  38:     char   *text;
  39:     char   *pers;
  40:     char   *mbox;
  41:     char   *host;
  42:     char   *path;
  43:     char   *grp;
  44:     int     ingrp;
  45:     char   *note;
  46:     char   *err;
  47: };
  48: 
  49: /*  */
  50: 
  51: /*
  52:  *    Codes returned by uucp2mmdf(), mmdf2uucp()
  53:  */
  54: 
  55: #define MFOK    0       /* all went well		 */
  56:  /* remaining codes must > DONE	 */
  57: #define MFPRM   2       /* bad parameter		 */
  58: #define MFSIO   3       /* stdio package went screwy	 */
  59: #define MFROM   4       /* from line was bad		 */
  60: #define MFHDR   5       /* headers were bad		 */
  61: #define MFTXT   6       /* text was bad			 */
  62: #define MFERR   7       /* I/O or system error		 */
  63: #define MFDLM   8       /* Bad delimiter in MMDF file	 */
  64: 
  65: 
  66: int     isfrom (), lequal (), mfgets ();
  67: char   *legal_person ();
  68: struct adrx *seekadrx (), *getadrx (), *uucpadrx ();

Defined struct's

adrx defined in line 37; used 8 times

Defined macros

DONE defined in line 19; used 2 times
FALSE defined in line 9; used 3 times
HADDR defined in line 31; never used
HDATE defined in line 32; never used
HFROM defined in line 29; never used
HOTHR defined in line 33; never used
HSNDR defined in line 30; never used
LINESIZ defined in line 22; never used
MBXMODE defined in line 24; never used
MFDLM defined in line 63; never used
MFERR defined in line 62; never used
MFHDR defined in line 60; never used
MFOK defined in line 55; never used
MFPRM defined in line 57; never used
MFROM defined in line 59; never used
MFSIO defined in line 58; never used
MFTXT defined in line 61; never used
NOTOK defined in line 13; used 59 times
OK defined in line 16; used 16 times
OWIDTH defined in line 27; never used
TMPMODE defined in line 25; used 3 times
TRUE defined in line 6; used 5 times

Usage of this include

Last modified: 1985-11-11
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1114
Valid CSS Valid XHTML 1.0 Strict