BuildCubeE/MPW-3.2.3/Interfaces/CIncludes/DiskInit.h
2019-01-13 15:57:32 +08:00

52 lines
1.2 KiB
C

/************************************************************
Created: Sunday, January 6, 1991 at 9:08 PM
DiskInit.h
C Interface to the Macintosh Libraries
Copyright Apple Computer, Inc. 1985-1989
All rights reserved
************************************************************/
#ifndef __DISKINIT__
#define __DISKINIT__
#ifndef __TYPES__
#include <Types.h>
#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
pascal void DILoad(void);
pascal void DIUnload(void);
pascal short DIBadMount(Point where,long evtMessage);
OSErr dibadmount(Point *where,long evtMessage);
pascal OSErr DIFormat(short drvNum);
pascal OSErr DIVerify(short drvNum);
pascal OSErr DIZero(short drvNum,ConstStr255Param volName);
OSErr dizero(short drvnum,char *volName);
#ifdef __cplusplus
}
#endif
#endif