#ifdef __cplusplus
extern "C" {
#endif
/*
 *		IX/370
 *		5667-126
 *	LICENSED MATERIALS - PROPERTY OF IBM
*	(c) Copyright 1985, 1986, 1989 IBM Corp.
*	(c) Copyright 1983, 1984, 1985, 1986,  1989 Locus Computing Corporation
 *	All Rights Reserved
 */

#ifndef H_SCCSID
#include <sccs.h>
#endif /* ~H_SCCSID */
H_SCCSID(@(#)reboot.h	16.4	LCC)	/* Modified: 18:45:15 9/22/89 */
/* SCCSIDPUFF(@(#) reboot.h 4.1 LM 12:56:02 4/23/85 C 22:13:11 4/23/85); */

#ifndef _h_REBOOT
#define _h_REBOOT

/*
 * Arguments to reboot system call that are
 * also passed to boot program and on to init.
 */
#define	RB_AUTOBOOT	0	/* flags for system auto-booting itself */

#define	RB_ASKNAME	1	/* ask for file name to reboot from */
#define	RB_SINGLE	2	/* reboot to single user only */
#define	RB_DEPSITE	4	/* tells init this is a dependent site */

/* Arguments to reboot(2) system call */
#define	RB_NOSYNC	4	/* dont sync before reboot */
#define	RB_HALT		8	/* don't reboot, just halt */
#define	RB_BOOTDBG	0x10	/* boot debug flag */

#define	RB_PANIC	0	/* reboot due to panic */
#define	RB_BOOT		1	/* reboot due to boot() */

#ifdef __cplusplus
/* (MRL) I hope that it is available */
int reboot(int);
#endif
#endif /* ~_h_REBOOT */
#ifdef __cplusplus
}
#endif
