MWCC/command_line/CmdLine/Src/MacEmul/Files.c

150 lines
2.7 KiB
C

#include "mwcc_decomp.h"
typedef struct MacFileInfo {
UInt32 ioFlCrDat;
UInt32 ioFlMdDat;
SInt32 ioFlLgLen;
SInt32 ioFlPyLen;
SInt32 ioFlRLgLen;
SInt32 ioFlRPyLen;
SInt32 ioFlStBlk;
SInt32 ioFlRStBlk;
SInt32 ioFlAttrib;
} MacFileInfo;
static int OS_GetFileParamInfo(const OSSpec *spec, MacFileInfo *mfi, FInfo *fi) {
}
static int OS_SetFileParamInfo(const OSSpec *spec, MacFileInfo *mfi, FInfo *fi) {
}
OSErr HCreate(SInt16 volume, SInt32 dirid, ConstStr255Param fileName, OSType creator, OSType type) {
}
OSErr HOpen(SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName, SInt8 permission, SInt16 *refNum) {
}
OSErr HOpenDF(SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName, SInt8 permission, SInt16 *refNum) {
}
OSErr HDelete(SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName) {
}
OSErr HRename(SInt16 vRefNum, SInt32 dirID, ConstStr255Param oldName, ConstStr255Param newName) {
}
OSErr HGetFInfo(SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName, FInfo *fndrInfo) {
}
OSErr HSetFInfo(SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName, const FInfo *fndrInfo) {
}
OSErr FSpCreate(const FSSpec *fss, OSType creator, OSType fileType, ScriptCode scriptTag) {
}
OSErr FSpDirCreate(const FSSpec *fss, ScriptCode scriptTag, SInt32 *createdDirID) {
}
OSErr FSpOpenDF(const FSSpec *fss, SInt8 permission, SInt16 *refNum) {
}
OSErr FSpDelete(const FSSpec *fss) {
}
OSErr FSpRename(const FSSpec *oldfss, ConstStr255Param newName) {
}
OSErr FSpGetFInfo(const FSSpec *fss, FInfo *fndrInfo) {
}
OSErr FSpSetFInfo(const FSSpec *fss, const FInfo *fndrInfo) {
}
OSErr HGetVol(StringPtr volName, SInt16 *vRefNum, SInt32 *dirID) {
}
OSErr HSetVol(ConstStr63Param volName, SInt16 vRefNum, SInt32 dirID) {
}
OSErr FlushVol(ConstStr63Param volName, SInt16 vRefNum) {
}
OSErr FSRead(SInt16 fRefNum, SInt32 *Size, void *Buffer) {
}
OSErr FSWrite(SInt16 fRefNum, SInt32 *Size, const void *Buffer) {
}
OSErr FSClose(SInt16 fRefNum) {
}
OSErr GetEOF(SInt16 fRefNum, SInt32 *curEOF) {
}
OSErr SetEOF(SInt16 fRefNum, SInt32 newEOF) {
}
OSErr GetFPos(SInt16 fRefNum, SInt32 *pos) {
}
OSErr SetFPos(SInt16 fRefNum, SInt16 posMode, SInt32 posOffset) {
}
OSErr GetVInfo(SInt16 vRefNum, StringPtr name, SInt16 *vRef, SInt32 *hDir) {
}
OSErr PBWriteSync(ParmBlkPtr paramBlock) {
}
OSErr PBHGetFInfoSync(HParmBlkPtr paramBlock) {
}
OSErr PBHSetFInfoSync(HParmBlkPtr paramBlock) {
}
OSErr PBGetCatInfoSync(CInfoPBPtr paramBlock) {
}
OSErr ResolveAliasFile(FSSpec *fss, Boolean resolveChains, Boolean *isFolder, Boolean *wasAliased) {
}
OSErr FSMakeFSSpec(SInt16 vRefNum, SInt32 dirID, ConstStr255Param pathName, FSSpec *fss) {
}
OSErr Allocate(SInt16 refNum, SInt32 *byteCount) {
}