ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/include/macos_util.h
(Generate patch)

Comparing BasiliskII/src/include/macos_util.h (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:26Z vs.
Revision 1.4 by cebix, 2000-04-10T18:53:32Z

# Line 1 | Line 1
1   /*
2   *  macos_util.h - MacOS definitions/utility functions
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2000 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 68 | Line 68 | enum {
68          closErr                 = -24,
69          abortErr                = -27,
70          notOpenErr              = -28,
71 +        dskFulErr               = -34,
72 +        nsvErr                  = -35,
73          ioErr                   = -36,
74 +        bdNamErr                = -37,
75 +        fnOpnErr                = -38,
76 +        eofErr                  = -39,
77 +        posErr                  = -40,
78 +        tmfoErr                 = -42,
79 +        fnfErr                  = -43,
80          wPrErr                  = -44,
81 +        fLckdErr                = -45,
82 +        fBsyErr                 = -47,
83 +        dupFNErr                = -48,
84          paramErr                = -50,
85 +        rfNumErr                = -51,
86 +        permErr                 = -54,
87          nsDrvErr                = -56,
88 +        extFSErr                = -58,
89          noDriveErr              = -64,
90          offLinErr               = -65,
91          noNybErr                = -66,
# Line 93 | Line 107 | enum {
107          fmt1Err                 = -82,
108          fmt2Err                 = -83,
109          verErr                  = -84,
110 <        memFullErr              = -108
110 >        memFullErr              = -108,
111 >        dirNFErr                = -120
112   };
113  
114   // Misc constants
# Line 156 | Line 171 | enum { // IOParam struct
171          ioActCount = 40,
172          ioPosMode = 44,
173          ioPosOffset = 46,
174 <        ioWPosOffset = 46       // Wide positioning offset when ioPosMode has kWidePosOffsetBit set
174 >        ioWPosOffset = 46,      // Wide positioning offset when ioPosMode has kWidePosOffsetBit set
175 >        SIZEOF_IOParam = 50
176   };
177  
178   enum {  // CntrlParam struct
# Line 228 | Line 244 | enum { // DeferredTask struct
244  
245  
246   // Functions
247 < extern void Enqueue(uint32 elem, uint32 list);  // Enqueue QElem in list
248 < extern int FindFreeDriveNumber(int num);                // Find first free drive number, starting at "num"
249 < extern void MountVolume(void *fh);                              // Mount volume with given file handle (see sys.h)
250 < extern bool HasMacStarted(void);                                // Test if basic MacOS initializations are done
247 > extern void EnqueueMac(uint32 elem, uint32 list);       // Enqueue QElem in list
248 > extern int FindFreeDriveNumber(int num);                        // Find first free drive number, starting at "num"
249 > extern void MountVolume(void *fh);                                      // Mount volume with given file handle (see sys.h)
250 > extern bool HasMacStarted(void);                                        // Test if basic MacOS initializations are done
251   extern void FileDiskLayout(loff_t size, uint8 *data, loff_t &start_byte, loff_t &real_size);    // Calculate disk image file layout given file size and first 256 data bytes
252  
253   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines