/*
	File:		DiskInit.h

	Copyright:	© 1984-1993 by Apple Computer, Inc., all rights reserved.

	WARNING
	This file was auto generated by the interfacer tool. Modifications
	must be made to the master file.

*/

#ifndef __DISKINIT__
#define __DISKINIT__

#ifndef __TYPES__
#include <MacTypes.H>
#endif

#if PRAGMA_IMPORT
#pragma import on
#endif

#if PRAGMA_STRUCT_ALIGN
	#pragma options align=mac68k
#elif PRAGMA_STRUCT_PACKPUSH
	#pragma pack(push, 2)
#elif PRAGMA_STRUCT_PACK
	#pragma pack(2)
#endif
struct HFSDefaults {
	char			sigWord[2];			/* signature word*/
	long			abSize;			/* allocation block size in bytes*/
	long			clpSize;			/* clump size in bytes*/
	long			nxFreeFN;			/* next free file number*/
	long			btClpSize;			/* B-Tree clump size in bytes*/
	short			rsrv1;			/* reserved*/
	short			rsrv2;			/* reserved*/
	short			rsrv3;			/* reserved*/
};
typedef struct HFSDefaults HFSDefaults;

#ifdef __cplusplus
extern "C" {
#endif

#if SystemSevenOrLater
extern void pascal DILoad(void);
extern void pascal DIUnload(void);
extern short pascal DIBadMount(Point where, long evtMessage);
extern OSErr pascal DIFormat(short drvNum);
extern OSErr pascal DIVerify(short drvNum);
extern OSErr pascal DIZero(short drvNum, ConstStr255Param volName);
#else
extern void pascal DILoad(void);
extern void pascal DIUnload(void);
extern short pascal DIBadMount(Point where, long evtMessage);
extern OSErr pascal DIFormat(short drvNum);
extern OSErr pascal DIVerify(short drvNum);
extern OSErr pascal DIZero(short drvNum, ConstStr255Param volName);
#endif

extern OSErr dibadmount(Point *where, long evtMessage);
extern OSErr dizero(short drvnum, char *volName);
#if PRAGMA_STRUCT_ALIGN
	#pragma options align=reset
#elif PRAGMA_STRUCT_PACKPUSH
	#pragma pack(pop)
#elif PRAGMA_STRUCT_PACK
	#pragma pack()
#endif

#ifdef PRAGMA_IMPORT_OFF
#pragma import off
#elif PRAGMA_IMPORT
#pragma import reset
#endif
#ifdef __cplusplus
}
#endif

#endif


