changed to disallow duplicate insertion of fields into the ignore list;
[unix-history] / usr / src / usr.bin / mail / def.h
index 08daf2a..39f1bf9 100644 (file)
@@ -1,16 +1,16 @@
 #
 
 #
 
-#include "local.h"
 #include <sys/types.h>
 #include <signal.h>
 #include <stdio.h>
 #include <sgtty.h>
 #include <sys/types.h>
 #include <signal.h>
 #include <stdio.h>
 #include <sgtty.h>
+#include "local.h"
 
 #undef isalpha
 #undef isdigit
 
 /*
 
 #undef isalpha
 #undef isdigit
 
 /*
- * Sccs Id = "@(#)def.h        2.5 %G%";
+ * Sccs Id = "@(#)def.h        2.7 %G%";
  */
 
 /*
  */
 
 /*
@@ -191,6 +191,14 @@ struct grouphead {
 #define        NOGRP   ((struct grouphead *) 0)/* The nil grouphead pointer */
 #define        NOGE    ((struct group *) 0)    /* The nil group pointer */
 
 #define        NOGRP   ((struct grouphead *) 0)/* The nil grouphead pointer */
 #define        NOGE    ((struct group *) 0)    /* The nil group pointer */
 
+/*
+ * Structure of the hash table of ignored header fields
+ */
+struct ignore {
+       struct ignore   *i_link;        /* Next ignored field in bucket */
+       char            *i_field;       /* This ignored field */
+};
+
 /*
  * Token values returned by the scanner used for argument lists.
  * Also, sizes of scanner-related things.
 /*
  * Token values returned by the scanner used for argument lists.
  * Also, sizes of scanner-related things.