From 6f52b3e39958dde417eacd9ca8fb513a3ea5b769 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Tue, 23 Jul 2002 21:00:17 +0000 Subject: - (bal) [bsd-cray.c bsd-cray.h] Part 2 of Cray merger. --- openbsd-compat/bsd-cray.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'openbsd-compat/bsd-cray.h') diff --git a/openbsd-compat/bsd-cray.h b/openbsd-compat/bsd-cray.h index 9067a389a..0b75b2268 100644 --- a/openbsd-compat/bsd-cray.h +++ b/openbsd-compat/bsd-cray.h @@ -1,5 +1,5 @@ /* - * $Id: bsd-cray.h,v 1.3 2002/05/15 16:39:52 mouring Exp $ + * $Id: bsd-cray.h,v 1.4 2002/07/23 21:00:18 mouring Exp $ * * bsd-cray.h * @@ -37,11 +37,18 @@ #ifndef _BSD_CRAY_H #define _BSD_CRAY_H -#ifdef _CRAY -void cray_init_job(struct passwd *); /* init cray job */ -void cray_job_termination_handler(int); /* process end of job signal */ -void cray_setup(uid_t, char *); /* set cray limits */ +#if defined(_CRAY) && !defined(_CRAYSV2) +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); extern char cray_tmpdir[]; /* cray tmpdir */ +#ifndef IA_SSHD +#define IA_SSHD IA_LOGIN +#endif +#ifndef MAXHOSTNAMELEN +#define MAXHOSTNAMELEN 64 +#endif #endif #endif /* _BSD_CRAY_H */ -- cgit v1.2.3