projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 3 development
[unix-history]
/
usr
/
src
/
cmd
/
uucp
/
uucp.h
diff --git
a/usr/src/cmd/uucp/uucp.h
b/usr/src/cmd/uucp/uucp.h
index
301afbc
..
40a6efe
100644
(file)
--- a/
usr/src/cmd/uucp/uucp.h
+++ b/
usr/src/cmd/uucp/uucp.h
@@
-1,10
+1,23
@@
#include "stdio.h"
#include "stdio.h"
+/* define DATAKIT if datakit is available */
+
+/* define DIALOUT if new dialout routine is to be used */
+
+/* define the last characters for ACU */
+
+/* define UNAME if uname() should be used to get uucpname */
+
+#define ACULAST "-<"
+
/* some system names */
/* some system names */
-#define MYNAME "vax135"
+/* put in local uucp name of this machine */
+#define MYNAME "ucbvax"
#define THISDIR "/usr/lib/uucp"
#define THISDIR "/usr/lib/uucp"
+#define XQTDIR "/usr/lib/uucp/.XQTDIR"
#define SQFILE "/usr/lib/uucp/SQFILE"
#define SQTMP "/usr/lib/uucp/SQTMP"
#define SQFILE "/usr/lib/uucp/SQFILE"
#define SQTMP "/usr/lib/uucp/SQTMP"
+#define SEQFILE "/usr/lib/uucp/SEQF"
#define SYSFILE "/usr/lib/uucp/L.sys"
#define SYSFILECR "/usr/lib/uucp/L.sys.cr"
#define DEVFILE "/usr/lib/uucp/L-devices"
#define SYSFILE "/usr/lib/uucp/L.sys"
#define SYSFILECR "/usr/lib/uucp/L.sys.cr"
#define DEVFILE "/usr/lib/uucp/L-devices"
@@
-13,10
+26,9
@@
#define SPOOL "/usr/spool/uucp"
#define LOGDIR "/usr/spool/uucp"
#define SPOOL "/usr/spool/uucp"
#define LOGDIR "/usr/spool/uucp"
-#define SEQFILE "/usr/spool/uucp/SEQF"
#define SQLOCK "/usr/spool/uucp/LCK.SQ"
#define SYSLOG "/usr/spool/uucp/SYSLOG"
#define SQLOCK "/usr/spool/uucp/LCK.SQ"
#define SYSLOG "/usr/spool/uucp/SYSLOG"
-#define
XQTDIR "/usr/spool/uucp/.XQTDIR
"
+#define
PUBDIR "/usr/spool/uucppublic
"
#define SEQLOCK "LCK.SEQL"
#define CMDPRE 'C'
#define SEQLOCK "LCK.SEQL"
#define CMDPRE 'C'
@@
-29,6
+41,7
@@
#define RMTDEBUG "AUDIT"
#define SQTIME 60L
#define RMTDEBUG "AUDIT"
#define SQTIME 60L
+#define TRYCALLS 2 /* number of tries to dial call */
#define DEBUG(l, f, s) if (Debug >= l) fprintf(stderr, f, s)
#define DEBUG(l, f, s) if (Debug >= l) fprintf(stderr, f, s)
@@
-40,6
+53,8
@@
cleanup(FAIL);};
#define FMV(p, n) close(n); dup(p[n]); close(p[n]);
#define SAME 0
#define FMV(p, n) close(n); dup(p[n]); close(p[n]);
#define SAME 0
+#define ANYREAD 04
+#define ANYWRITE 02
#define FAIL -1
#define SUCCESS 0
#define MASTER 1
#define FAIL -1
#define SUCCESS 0
#define MASTER 1
@@
-48,18
+63,15
@@
cleanup(FAIL);};
#define MAXMSGTIME 45
#define MAXCHARTIME 15
#define NAMESIZE 15
#define MAXMSGTIME 45
#define MAXCHARTIME 15
#define NAMESIZE 15
-#define ACULAST "-<"
#define EOTMSG "\004\n\004\n"
#define CALLBACK 1
#define EOTMSG "\004\n\004\n"
#define CALLBACK 1
-#define LINKLEVEL 1
-#define ANYREAD 04
/* commands */
#define SHELL "/bin/sh"
#define MAIL "mail"
#define UUCICO "/usr/lib/uucp/uucico"
#define UUXQT "/usr/lib/uucp/uuxqt"
/* commands */
#define SHELL "/bin/sh"
#define MAIL "mail"
#define UUCICO "/usr/lib/uucp/uucico"
#define UUXQT "/usr/lib/uucp/uuxqt"
-#define UUCP "u
sr/lib/uucp/u
ucp"
+#define UUCP "uucp"
/* call connect fail stuff */
/* call connect fail stuff */
@@
-98,7
+110,7
@@
char User[10];
char Loginuser[10];
char *Thisdir;
char *Spool;
char Loginuser[10];
char *Thisdir;
char *Spool;
-char
*Myname
;
+char
Myname[8]
;
char *Sysfiles[];
char *Devfile;
char *Dialfile;
char *Sysfiles[];
char *Devfile;
char *Dialfile;
@@
-107,9
+119,6
@@
int Pkdebug;
int Pkdrvon;
int Bspeed;
int Pkdrvon;
int Bspeed;
- /* the define geteuid should be deleted if the */
- /* routine is available in the libc.a library. */
-#define geteuid getuid
#define WKDSIZE 100 /* size of work dir name */
char Wrkdir[WKDSIZE];
#define WKDSIZE 100 /* size of work dir name */
char Wrkdir[WKDSIZE];