-/*
- * $Id$
- *
- * bsd-cray.h
- *
+/* $Id$ */
+
+/*
* Copyright (c) 2002, Cray Inc. (Wendy Palm <wendyp@cray.com>)
* Significant portions provided by
* Wayne Schroeder, SDSC <schroeder@sdsc.edu>
* on UNICOS systems.
*
*/
+
#ifndef _BSD_CRAY_H
#define _BSD_CRAY_H
#ifdef _UNICOS
-void cray_init_job(struct passwd *); /* init cray job */
-void cray_job_termination_handler(int); /* process end of job signal */
-void cray_login_failure(char *username, int errcode);
-int cray_access_denied(char *username);
+
+void cray_init_job(struct passwd *);
+void cray_job_termination_handler(int);
+void cray_login_failure(char *, int );
+int cray_access_denied(char *);
+extern char cray_tmpdir[];
+
#define CUSTOM_FAILED_LOGIN 1
-void record_failed_login(const char *user, const char *ttyname);
-extern char cray_tmpdir[]; /* cray tmpdir */
+
#ifndef IA_SSHD
-#define IA_SSHD IA_LOGIN
+# define IA_SSHD IA_LOGIN
#endif
#ifndef MAXHOSTNAMELEN
-#define MAXHOSTNAMELEN 64
+# define MAXHOSTNAMELEN 64
#endif
#ifndef _CRAYT3E
-#include <sys/ttold.h>
-#define TIOCGPGRP (tIOC|20)
-#endif
+# define TIOCGPGRP (tIOC|20)
#endif
+#endif /* UNICOS */
+
#endif /* _BSD_CRAY_H */