diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/includes/common.h b/includes/common.h index 809f99f..39a9abf 100644 --- a/includes/common.h +++ b/includes/common.h @@ -58,8 +58,10 @@ typedef uint8_t Boolean; enum { noErr = 0, abortErr = -27, + nsvErr = -35, ioErr = -36, bdNamErr = -37, + eofErr = -39, tmfoErr = -42, fnfErr = -43, // file not found dupFNErr = -48, // duplicate filename @@ -121,6 +123,16 @@ enum { fsFromLEOF = 2, fsFromMark = 3 }; +enum { + fsRtParID = 1, + fsRtDirID = 2 +}; +enum { + ioDirMask = 0x10 +}; +enum { + kIsAlias = 0x8000 +}; typedef struct FSSpec { SInt16 vRefNum; @@ -161,7 +173,7 @@ typedef struct DXInfo { } DXInfo; typedef struct IOParam { - SInt16 ioResult; + OSErr ioResult; SInt16 ioRefNum; char *ioBuffer; SInt32 ioReqCount; |