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 28 times

Defined macros

DONE defined in line 19; used 10 times
HADDR defined in line 31; used 20 times
HDATE defined in line 32; used 4 times
HFROM defined in line 29; used 3 times
HOTHR defined in line 33; used 2 times
HSNDR defined in line 30; used 2 times
MFDLM defined in line 63; used 2 times
MFERR defined in line 62; used 21 times
MFHDR defined in line 60; used 5 times
MFOK defined in line 55; used 2 times
MFPRM defined in line 57; used 2 times
MFROM defined in line 59; used 6 times
MFSIO defined in line 58; used 2 times
MFTXT defined in line 61; used 2 times
NOTOK defined in line 13; used 88 times
OK defined in line 16; used 37 times
OWIDTH defined in line 27; used 2 times

Usage of this include

Last modified: 1986-04-21
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1124
Valid CSS Valid XHTML 1.0 Strict