/* * params.h - parameters for everyone. */ static char *Params = "@(#)params.h 2.5 4/26/83"; #include #include #include #include #include #include #include #include #include "defs.h" #ifndef UNAME /* * 9 bytes is for compatibility with USG, in case you forget to define UNAME. * 33 bytes in nodename because many sites have names longer than 8 chars. */ struct utsname { char sysname[9]; char nodename[33]; char release[9]; char version[9]; }; #else #include #endif #ifndef USG #include #else struct timeb { time_t time; unsigned short millitm; short timezone; short dstflag; }; #endif #include "header.h" /* line from SUBFILE */ struct srec { char s_name[BUFLEN]; /* system name */ char s_nbuf[LBUFLEN]; /* system subscriptions */ char s_flags[BUFLEN]; /* system flags */ char s_xmit[LBUFLEN]; /* system xmit routine */ }; extern unsigned uid, gid, duid, dgid; extern int savmask,sigtrap,mode,lockcount,defexp; extern struct hbuf header; extern char bfr[LBUFLEN],username[BUFLEN],userhome[BUFLEN]; extern char SPOOL[], LIB[]; extern char SUBFILE[], NGFILE[], ACTIVE[]; extern char LOCKFILE[], SEQFILE[], ARTFILE[]; #ifdef NOTIFY extern char TELLME[]; #endif extern char FULLSYSNAME[],SYSNAME[],*NEWSU,*NEWSG; #ifndef SHELL extern char *SHELL; #endif /* external function declarations */ extern FILE *xfopen(), *hread(); extern char *strcpy(), *strncpy(), *strcat(), *index(), *rindex(); extern char *ctime(), *mktemp(), *malloc(), *realloc(), *getenv(); extern char *arpadate(), *dirname(), *dotname(); extern struct passwd *getpwnam(), *getpwuid(), *getpwent(); extern struct group *getgrnam(); extern time_t time(), getdate(), cgtdate(); extern int broadcast(), save(), newssave(), ushell(), pshell(), onsig(); extern long atol();