summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-cray.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-23 21:00:17 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-23 21:00:17 +0000
commit6f52b3e39958dde417eacd9ca8fb513a3ea5b769 (patch)
tree2e21663038deed7863c0c0483311c5c3e5831095 /openbsd-compat/bsd-cray.h
parent6fa740ba84f811cfcb12fcd94dffdd4c28cdf29e (diff)
- (bal) [bsd-cray.c bsd-cray.h] Part 2 of Cray merger.
Diffstat (limited to 'openbsd-compat/bsd-cray.h')
-rw-r--r--openbsd-compat/bsd-cray.h17
1 files changed, 12 insertions, 5 deletions
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 @@
1/* 1/*
2 * $Id: bsd-cray.h,v 1.3 2002/05/15 16:39:52 mouring Exp $ 2 * $Id: bsd-cray.h,v 1.4 2002/07/23 21:00:18 mouring Exp $
3 * 3 *
4 * bsd-cray.h 4 * bsd-cray.h
5 * 5 *
@@ -37,11 +37,18 @@
37#ifndef _BSD_CRAY_H 37#ifndef _BSD_CRAY_H
38#define _BSD_CRAY_H 38#define _BSD_CRAY_H
39 39
40#ifdef _CRAY 40#if defined(_CRAY) && !defined(_CRAYSV2)
41void cray_init_job(struct passwd *); /* init cray job */ 41void cray_init_job(struct passwd *); /* init cray job */
42void cray_job_termination_handler(int); /* process end of job signal */ 42void cray_job_termination_handler(int); /* process end of job signal */
43void cray_setup(uid_t, char *); /* set cray limits */ 43void cray_login_failure(char *username, int errcode);
44int cray_access_denied(char *username);
44extern char cray_tmpdir[]; /* cray tmpdir */ 45extern char cray_tmpdir[]; /* cray tmpdir */
46#ifndef IA_SSHD
47#define IA_SSHD IA_LOGIN
48#endif
49#ifndef MAXHOSTNAMELEN
50#define MAXHOSTNAMELEN 64
51#endif
45#endif 52#endif
46 53
47#endif /* _BSD_CRAY_H */ 54#endif /* _BSD_CRAY_H */