new copyright notice
[unix-history] / usr / src / usr.bin / rdist / defs.h
index d0811c0..4bbbfeb 100644 (file)
@@ -1,24 +1,30 @@
-/*     defs.h  4.14    84/06/28        */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ *
+ *     @(#)defs.h      5.8 (Berkeley) %G%
+ */
 
 
+#include <sys/param.h>
+#include <sys/dir.h>
+#include <sys/stat.h>
+#include <sys/time.h>
+#include <sys/file.h>
+#include <netinet/in.h>
 #include <stdio.h>
 #include <ctype.h>
 #include <errno.h>
 #include <pwd.h>
 #include <grp.h>
 #include <stdio.h>
 #include <ctype.h>
 #include <errno.h>
 #include <pwd.h>
 #include <grp.h>
-#include <signal.h>
-#include <sys/types.h>
-#include <sys/dir.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <netinet/in.h>
+#include "pathnames.h"
 
 /*
  * The version number should be changed whenever the protocol changes.
  */
 #define VERSION         3
 
 
 /*
  * The version number should be changed whenever the protocol changes.
  */
 #define VERSION         3
 
-#define        MAILCMD  "/usr/lib/sendmail -oi -t"
-
        /* defines for yacc */
 #define EQUAL  1
 #define LP     2
        /* defines for yacc */
 #define EQUAL  1
 #define LP     2
@@ -43,8 +49,6 @@
        /* table sizes */
 #define HASHSIZE       1021
 #define INMAX  3500
        /* table sizes */
 #define HASHSIZE       1021
 #define INMAX  3500
-#define NCARGS 10240
-#define GAVSIZ NCARGS / 6
 
        /* option flags */
 #define VERIFY 0x1
 
        /* option flags */
 #define VERIFY 0x1
@@ -97,6 +101,7 @@ struct linkbuf {
        dev_t   devnum;
        int     count;
        char    pathname[BUFSIZ];
        dev_t   devnum;
        int     count;
        char    pathname[BUFSIZ];
+       char    target[BUFSIZ];
        struct  linkbuf *nextp;
 };
 
        struct  linkbuf *nextp;
 };
 
@@ -115,7 +120,6 @@ extern struct group *gr;    /* pointer to static area used by getgrent */
 extern char host[];            /* host name of master copy */
 extern char buf[];             /* general purpose buffer */
 extern int errno;              /* system error number */
 extern char host[];            /* host name of master copy */
 extern char buf[];             /* general purpose buffer */
 extern int errno;              /* system error number */
-extern char *sys_errlist[];
 
 char *makestr();
 struct namelist *makenl();
 
 char *makestr();
 struct namelist *makenl();