remove call of _fwalk
[unix-history] / usr / src / usr.bin / mail / def.h
index 1579998..0fc95eb 100644 (file)
@@ -2,19 +2,9 @@
  * Copyright (c) 1980 Regents of the University of California.
  * All rights reserved.
  *
  * Copyright (c) 1980 Regents of the University of California.
  * All rights reserved.
  *
- * Redistribution and use in source and binary forms are permitted
- * provided that the above copyright notice and this paragraph are
- * duplicated in all such forms and that any documentation,
- * advertising materials, and other materials related to such
- * distribution and use acknowledge that the software was developed
- * by the University of California, Berkeley.  The name of the
- * University may not be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ * %sccs.include.redist.c%
  *
  *
- *     @(#)def.h       5.16 (Berkeley) %G%
+ *     @(#)def.h       5.22 (Berkeley) %G%
  */
 
 #include <sys/param.h>         /* includes <sys/types.h> */
  */
 
 #include <sys/param.h>         /* includes <sys/types.h> */
@@ -22,8 +12,8 @@
 #include <stdio.h>
 #include <sgtty.h>
 #include <ctype.h>
 #include <stdio.h>
 #include <sgtty.h>
 #include <ctype.h>
-#include <strings.h>
-#include "local.h"
+#include <string.h>
+#include "pathnames.h"
 
 /*
  * Mail -- a mail program
 
 /*
  * Mail -- a mail program
@@ -31,6 +21,7 @@
  * Author: Kurt Shoens (UCB) March 25, 1978
  */
 
  * Author: Kurt Shoens (UCB) March 25, 1978
  */
 
+#define        APPEND                          /* New mail goes to end of mailbox */
 
 #define        ESCAPE          '~'             /* Default escape for sending */
 #define        NMLSIZE         1024            /* max names in a message list */
 
 #define        ESCAPE          '~'             /* Default escape for sending */
 #define        NMLSIZE         1024            /* max names in a message list */
@@ -223,6 +214,7 @@ struct ignoretab {
 #define        TOPEN   8                       /* An '(' */
 #define        TCLOSE  9                       /* A ')' */
 #define TPLUS  10                      /* A '+' */
 #define        TOPEN   8                       /* An '(' */
 #define        TCLOSE  9                       /* A ')' */
 #define TPLUS  10                      /* A '+' */
+#define TERROR 11                      /* A lexical error */
 
 #define        REGDEP  2                       /* Maximum regret depth. */
 #define        STRINGLEN       1024            /* Maximum length of string token */
 
 #define        REGDEP  2                       /* Maximum regret depth. */
 #define        STRINGLEN       1024            /* Maximum length of string token */
@@ -254,6 +246,7 @@ struct ignoretab {
  * Forward declarations of routine types to keep lint and cc happy.
  */
 
  * Forward declarations of routine types to keep lint and cc happy.
  */
 
+FILE   *Fopen();
 FILE   *Fdopen();
 FILE   *Popen();
 FILE   *collect();
 FILE   *Fdopen();
 FILE   *Popen();
 FILE   *collect();
@@ -266,6 +259,7 @@ char        *copy();
 char   *copyin();
 char   *detract();
 char   *expand();
 char   *copyin();
 char   *detract();
 char   *expand();
+char   *getdeadletter();
 char   *gets();
 char   *hfield();
 char   *name1();
 char   *gets();
 char   *hfield();
 char   *name1();