diff options
author | Ash Wolf <ninji@wuffs.org> | 2022-10-11 03:18:42 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2022-10-11 03:18:42 +0100 |
commit | 26b57fbea1a969ef6405365ff78391e9d3605621 (patch) | |
tree | b6f14f5c083d0fbb42c5495eea7c74099ff45315 /command_line/CmdLine/Src/MacEmul/Files.c | |
parent | 7d4bee5f8f28b72610c8518e5cb9dc145c68b816 (diff) | |
download | MWCC-26b57fbea1a969ef6405365ff78391e9d3605621.tar.gz MWCC-26b57fbea1a969ef6405365ff78391e9d3605621.zip |
add cmakelists for CLion, tons and tons of reorganisation using new info from the Pro8 compiler
Diffstat (limited to '')
-rw-r--r-- | command_line/CmdLine/Src/MacEmul/Files.c | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/command_line/CmdLine/Src/MacEmul/Files.c b/command_line/CmdLine/Src/MacEmul/Files.c new file mode 100644 index 0000000..7216c6b --- /dev/null +++ b/command_line/CmdLine/Src/MacEmul/Files.c @@ -0,0 +1,149 @@ +#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) { + +} |