|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. ! 3: * ! 4: * @APPLE_LICENSE_HEADER_START@ ! 5: * ! 6: * Portions Copyright (c) 1999 Apple Computer, Inc. All Rights ! 7: * Reserved. This file contains Original Code and/or Modifications of ! 8: * Original Code as defined in and that are subject to the Apple Public ! 9: * Source License Version 1.1 (the "License"). You may not use this file ! 10: * except in compliance with the License. Please obtain a copy of the ! 11: * License at http://www.apple.com/publicsource and read it before using ! 12: * this file. ! 13: * ! 14: * The Original Code and all software distributed under the License are ! 15: * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER ! 16: * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, ! 17: * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, ! 18: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the ! 19: * License for the specific language governing rights and limitations ! 20: * under the License. ! 21: * ! 22: * @APPLE_LICENSE_HEADER_END@ ! 23: */ ! 24: ! 25: /* ! 26: File: Files.h ! 27: ! 28: Contains: File Manager (HFS and MFS) Interfaces. ! 29: ! 30: Version: System 7.5 ! 31: ! 32: DRI: Don Brady ! 33: ! 34: Copyright: � 1985-1998 by Apple Computer, Inc., all rights reserved ! 35: ! 36: Warning: *** APPLE INTERNAL USE ONLY *** ! 37: This file may contain unreleased API's ! 38: ! 39: BuildInfo: Built by: Naga Pappireddi ! 40: With Interfacer: 3.0d9 (PowerPC native) ! 41: From: Files.i ! 42: Revision: 76 ! 43: Dated: 7/13/98 ! 44: Last change by: JL ! 45: Last comment: Removed APPLE_ONLY_UNTIL_ALLEGRO conditional section for ! 46: ! 47: Bugs: Report bugs to Radar component "System Interfaces", "Latest" ! 48: List the version information (from above) in the Problem Description. ! 49: ! 50: */ ! 51: #ifndef __FILES__ ! 52: #define __FILES__ ! 53: ! 54: #ifndef __MACTYPES__ ! 55: #include <MacTypes.h> ! 56: #endif ! 57: #ifndef __MIXEDMODE__ ! 58: #include <MixedMode.h> ! 59: #endif ! 60: #ifndef __OSUTILS__ ! 61: #include <OSUtils.h> ! 62: #endif ! 63: ! 64: /* Finder constants where moved to Finder.� */ ! 65: #ifndef __FINDER__ ! 66: #include <Finder.h> ! 67: #endif ! 68: ! 69: ! 70: ! 71: #if PRAGMA_ONCE ! 72: #pragma once ! 73: #endif ! 74: ! 75: #ifdef __cplusplus ! 76: extern "C" { ! 77: #endif ! 78: ! 79: #if PRAGMA_IMPORT ! 80: #pragma import on ! 81: #endif ! 82: ! 83: #if PRAGMA_STRUCT_ALIGN ! 84: #pragma options align=mac68k ! 85: #elif PRAGMA_STRUCT_PACKPUSH ! 86: #pragma pack(push, 2) ! 87: #elif PRAGMA_STRUCT_PACK ! 88: #pragma pack(2) ! 89: #endif ! 90: ! 91: ! 92: enum { ! 93: fsCurPerm = 0x00, /* open access permissions in ioPermssn */ ! 94: fsRdPerm = 0x01, ! 95: fsWrPerm = 0x02, ! 96: fsRdWrPerm = 0x03, ! 97: fsRdWrShPerm = 0x04, ! 98: fsRdDenyPerm = 0x10, /* for use with OpenDeny and OpenRFDeny */ ! 99: fsWrDenyPerm = 0x20 /* for use with OpenDeny and OpenRFDeny */ ! 100: }; ! 101: ! 102: ! 103: enum { ! 104: ioDirFlg = 4, /* directory bit in ioFlAttrib */ ! 105: ioDirMask = 0x10 ! 106: }; ! 107: ! 108: ! 109: enum { ! 110: fsRtParID = 1, ! 111: fsRtDirID = 2 ! 112: }; ! 113: ! 114: ! 115: enum { ! 116: fsAtMark = 0, /* positioning modes in ioPosMode */ ! 117: fsFromStart = 1, ! 118: fsFromLEOF = 2, ! 119: fsFromMark = 3 ! 120: }; ! 121: ! 122: ! 123: enum { ! 124: /* ioPosMode flags */ ! 125: pleaseCacheBit = 4, /* please cache this request */ ! 126: pleaseCacheMask = 0x0010, ! 127: noCacheBit = 5, /* please don't cache this request */ ! 128: noCacheMask = 0x0020, ! 129: rdVerifyBit = 6, /* read verify mode */ ! 130: rdVerifyMask = 0x0040, ! 131: rdVerify = 64, /* old name of rdVerifyMask */ ! 132: newLineBit = 7, /* newline mode */ ! 133: newLineMask = 0x0080, ! 134: newLineCharMask = 0xFF00 /* newline character */ ! 135: }; ! 136: ! 137: ! 138: ! 139: enum { ! 140: /* CatSearch Search bitmask Constants */ ! 141: fsSBPartialName = 1, ! 142: fsSBFullName = 2, ! 143: fsSBFlAttrib = 4, ! 144: fsSBFlFndrInfo = 8, ! 145: fsSBFlLgLen = 32, ! 146: fsSBFlPyLen = 64, ! 147: fsSBFlRLgLen = 128, ! 148: fsSBFlRPyLen = 256, ! 149: fsSBFlCrDat = 512, ! 150: fsSBFlMdDat = 1024, ! 151: fsSBFlBkDat = 2048, ! 152: fsSBFlXFndrInfo = 4096, ! 153: fsSBFlParID = 8192, ! 154: fsSBNegate = 16384, ! 155: fsSBDrUsrWds = 8, ! 156: fsSBDrNmFls = 16, ! 157: fsSBDrCrDat = 512, ! 158: fsSBDrMdDat = 1024, ! 159: fsSBDrBkDat = 2048, ! 160: fsSBDrFndrInfo = 4096, ! 161: fsSBDrParID = 8192 ! 162: }; ! 163: ! 164: ! 165: enum { ! 166: /* CatSearch Search bit value Constants */ ! 167: fsSBPartialNameBit = 0, /*ioFileName points to a substring*/ ! 168: fsSBFullNameBit = 1, /*ioFileName points to a match string*/ ! 169: fsSBFlAttribBit = 2, /*search includes file attributes*/ ! 170: fsSBFlFndrInfoBit = 3, /*search includes finder info*/ ! 171: fsSBFlLgLenBit = 5, /*search includes data logical length*/ ! 172: fsSBFlPyLenBit = 6, /*search includes data physical length*/ ! 173: fsSBFlRLgLenBit = 7, /*search includes resource logical length*/ ! 174: fsSBFlRPyLenBit = 8, /*search includes resource physical length*/ ! 175: fsSBFlCrDatBit = 9, /*search includes create date*/ ! 176: fsSBFlMdDatBit = 10, /*search includes modification date*/ ! 177: fsSBFlBkDatBit = 11, /*search includes backup date*/ ! 178: fsSBFlXFndrInfoBit = 12, /*search includes extended finder info*/ ! 179: fsSBFlParIDBit = 13, /*search includes file's parent ID*/ ! 180: fsSBNegateBit = 14, /*return all non-matches*/ ! 181: fsSBDrUsrWdsBit = 3, /*search includes directory finder info*/ ! 182: fsSBDrNmFlsBit = 4, /*search includes directory valence*/ ! 183: fsSBDrCrDatBit = 9, /*directory-named version of fsSBFlCrDatBit*/ ! 184: fsSBDrMdDatBit = 10, /*directory-named version of fsSBFlMdDatBit*/ ! 185: fsSBDrBkDatBit = 11, /*directory-named version of fsSBFlBkDatBit*/ ! 186: fsSBDrFndrInfoBit = 12, /*directory-named version of fsSBFlXFndrInfoBit*/ ! 187: fsSBDrParIDBit = 13 /*directory-named version of fsSBFlParIDBit*/ ! 188: }; ! 189: ! 190: ! 191: enum { ! 192: /* vMAttrib (GetVolParms) bit position constants */ ! 193: bLimitFCBs = 31, ! 194: bLocalWList = 30, ! 195: bNoMiniFndr = 29, ! 196: bNoVNEdit = 28, ! 197: bNoLclSync = 27, ! 198: bTrshOffLine = 26, ! 199: bNoSwitchTo = 25, ! 200: bNoDeskItems = 20, ! 201: bNoBootBlks = 19, ! 202: bAccessCntl = 18, ! 203: bNoSysDir = 17, ! 204: bHasExtFSVol = 16, ! 205: bHasOpenDeny = 15, ! 206: bHasCopyFile = 14, ! 207: bHasMoveRename = 13, ! 208: bHasDesktopMgr = 12, ! 209: bHasShortName = 11, ! 210: bHasFolderLock = 10, ! 211: bHasPersonalAccessPrivileges = 9, ! 212: bHasUserGroupList = 8, ! 213: bHasCatSearch = 7, ! 214: bHasFileIDs = 6, ! 215: bHasBTreeMgr = 5, ! 216: bHasBlankAccessPrivileges = 4, ! 217: bSupportsAsyncRequests = 3, /* asynchronous requests to this volume are handled correctly at any time*/ ! 218: bSupportsTrashVolumeCache = 2 ! 219: }; ! 220: ! 221: ! 222: ! 223: enum { ! 224: /* Desktop Database icon Constants */ ! 225: kLargeIcon = 1, ! 226: kLarge4BitIcon = 2, ! 227: kLarge8BitIcon = 3, ! 228: kSmallIcon = 4, ! 229: kSmall4BitIcon = 5, ! 230: kSmall8BitIcon = 6 ! 231: }; ! 232: ! 233: ! 234: enum { ! 235: kLargeIconSize = 256, ! 236: kLarge4BitIconSize = 512, ! 237: kLarge8BitIconSize = 1024, ! 238: kSmallIconSize = 64, ! 239: kSmall4BitIconSize = 128, ! 240: kSmall8BitIconSize = 256 ! 241: }; ! 242: ! 243: ! 244: enum { ! 245: /* Foreign Privilege Model Identifiers */ ! 246: fsUnixPriv = 1 ! 247: }; ! 248: ! 249: ! 250: enum { ! 251: /* Authentication Constants */ ! 252: kNoUserAuthentication = 1, ! 253: kPassword = 2, ! 254: kEncryptPassword = 3, ! 255: kTwoWayEncryptPassword = 6 ! 256: }; ! 257: ! 258: ! 259: /* mapping codes (ioObjType) for MapName & MapID */ ! 260: ! 261: enum { ! 262: kOwnerID2Name = 1, ! 263: kGroupID2Name = 2, ! 264: kOwnerName2ID = 3, ! 265: kGroupName2ID = 4, /* types of oj object to be returned (ioObjType) for _GetUGEntry */ ! 266: kReturnNextUser = 1, ! 267: kReturnNextGroup = 2, ! 268: kReturnNextUG = 3 ! 269: }; ! 270: ! 271: ! 272: ! 273: /* Folder and File values of access privileges */ ! 274: ! 275: enum { ! 276: kfullPrivileges = 0x00070007, /* ; all privileges for everybody and owner*/ ! 277: kownerPrivileges = 0x00000007 /* ; all privileges for owner only*/ ! 278: }; ! 279: ! 280: /* values of user IDs and group IDs */ ! 281: ! 282: enum { ! 283: knoUser = 0, ! 284: kadministratorUser = 1 ! 285: }; ! 286: ! 287: ! 288: enum { ! 289: knoGroup = 0 ! 290: }; ! 291: ! 292: ! 293: ! 294: struct GetVolParmsInfoBuffer { ! 295: short vMVersion; /*version number*/ ! 296: long vMAttrib; /*bit vector of attributes (see vMAttrib constants)*/ ! 297: Handle vMLocalHand; /*handle to private data*/ ! 298: long vMServerAdr; /*AppleTalk server address or zero*/ ! 299: long vMVolumeGrade; /*approx. speed rating or zero if unrated*/ ! 300: short vMForeignPrivID; /*foreign privilege model supported or zero if none*/ ! 301: }; ! 302: typedef struct GetVolParmsInfoBuffer GetVolParmsInfoBuffer; ! 303: typedef union ParamBlockRec ParamBlockRec; ! 304: ! 305: typedef ParamBlockRec * ParmBlkPtr; ! 306: typedef CALLBACK_API( void , IOCompletionProcPtr )(ParmBlkPtr paramBlock); ! 307: /* ! 308: WARNING: IOCompletionProcPtr uses register based parameters under classic 68k ! 309: and cannot be written in a high-level language without ! 310: the help of mixed mode or assembly glue. ! 311: */ ! 312: typedef REGISTER_UPP_TYPE(IOCompletionProcPtr) IOCompletionUPP; ! 313: ! 314: struct IOParam { ! 315: QElemPtr qLink; /*queue link in header*/ ! 316: short qType; /*type byte for safety check*/ ! 317: short ioTrap; /*FS: the Trap*/ ! 318: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 319: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 320: OSErr ioResult; /*result code*/ ! 321: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 322: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 323: short ioRefNum; /*refNum for I/O operation*/ ! 324: SInt8 ioVersNum; /*version number*/ ! 325: SInt8 ioPermssn; /*Open: permissions (byte)*/ ! 326: Ptr ioMisc; /*Rename: new name (GetEOF,SetEOF: logical end of file) (Open: optional ptr to buffer) (SetFileType: new type)*/ ! 327: Ptr ioBuffer; /*data buffer Ptr*/ ! 328: long ioReqCount; /*requested byte count; also = ioNewDirID*/ ! 329: long ioActCount; /*actual byte count completed*/ ! 330: short ioPosMode; /*initial file positioning*/ ! 331: long ioPosOffset; /*file position offset*/ ! 332: }; ! 333: typedef struct IOParam IOParam; ! 334: typedef IOParam * IOParamPtr; ! 335: ! 336: struct FileParam { ! 337: QElemPtr qLink; /*queue link in header*/ ! 338: short qType; /*type byte for safety check*/ ! 339: short ioTrap; /*FS: the Trap*/ ! 340: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 341: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 342: OSErr ioResult; /*result code*/ ! 343: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 344: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 345: short ioFRefNum; /*reference number*/ ! 346: SInt8 ioFVersNum; /*version number*/ ! 347: SInt8 filler1; ! 348: short ioFDirIndex; /*GetFInfo directory index*/ ! 349: SInt8 ioFlAttrib; /*GetFInfo: in-use bit=7, lock bit=0*/ ! 350: SInt8 ioFlVersNum; /*file version number*/ ! 351: FInfo ioFlFndrInfo; /*user info*/ ! 352: unsigned long ioFlNum; /*GetFInfo: file number; TF- ioDirID*/ ! 353: unsigned short ioFlStBlk; /*start file block (0 if none)*/ ! 354: long ioFlLgLen; /*logical length (EOF)*/ ! 355: long ioFlPyLen; /*physical length*/ ! 356: unsigned short ioFlRStBlk; /*start block rsrc fork*/ ! 357: long ioFlRLgLen; /*file logical length rsrc fork*/ ! 358: long ioFlRPyLen; /*file physical length rsrc fork*/ ! 359: unsigned long ioFlCrDat; /*file creation date& time (32 bits in secs)*/ ! 360: unsigned long ioFlMdDat; /*last modified date and time*/ ! 361: }; ! 362: typedef struct FileParam FileParam; ! 363: typedef FileParam * FileParamPtr; ! 364: ! 365: struct VolumeParam { ! 366: QElemPtr qLink; /*queue link in header*/ ! 367: short qType; /*type byte for safety check*/ ! 368: short ioTrap; /*FS: the Trap*/ ! 369: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 370: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 371: OSErr ioResult; /*result code*/ ! 372: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 373: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 374: long filler2; ! 375: short ioVolIndex; /*volume index number*/ ! 376: unsigned long ioVCrDate; /*creation date and time*/ ! 377: unsigned long ioVLsBkUp; /*last backup date and time*/ ! 378: unsigned short ioVAtrb; /*volume attrib*/ ! 379: unsigned short ioVNmFls; /*number of files in directory*/ ! 380: unsigned short ioVDirSt; /*start block of file directory*/ ! 381: short ioVBlLn; /*GetVolInfo: length of dir in blocks*/ ! 382: unsigned short ioVNmAlBlks; /*for compatibilty ioVNmAlBlks * ioVAlBlkSiz <= 2 GB*/ ! 383: unsigned long ioVAlBlkSiz; /*for compatibilty ioVAlBlkSiz is <= $0000FE00 (65,024)*/ ! 384: unsigned long ioVClpSiz; /*GetVolInfo: bytes to allocate at a time*/ ! 385: unsigned short ioAlBlSt; /*starting disk(512-byte) block in block map*/ ! 386: unsigned long ioVNxtFNum; /*GetVolInfo: next free file number*/ ! 387: unsigned short ioVFrBlk; /*GetVolInfo: # free alloc blks for this vol*/ ! 388: }; ! 389: typedef struct VolumeParam VolumeParam; ! 390: typedef VolumeParam * VolumeParamPtr; ! 391: ! 392: struct CntrlParam { ! 393: QElemPtr qLink; /*queue link in header*/ ! 394: short qType; /*type byte for safety check*/ ! 395: short ioTrap; /*FS: the Trap*/ ! 396: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 397: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 398: OSErr ioResult; /*result code*/ ! 399: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 400: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 401: short ioCRefNum; /*refNum for I/O operation*/ ! 402: short csCode; /*word for control status code*/ ! 403: short csParam[11]; /*operation-defined parameters*/ ! 404: }; ! 405: typedef struct CntrlParam CntrlParam; ! 406: typedef CntrlParam * CntrlParamPtr; ! 407: ! 408: struct SlotDevParam { ! 409: QElemPtr qLink; /*queue link in header*/ ! 410: short qType; /*type byte for safety check*/ ! 411: short ioTrap; /*FS: the Trap*/ ! 412: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 413: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 414: OSErr ioResult; /*result code*/ ! 415: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 416: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 417: short ioSRefNum; ! 418: SInt8 ioSVersNum; ! 419: SInt8 ioSPermssn; ! 420: Ptr ioSMix; ! 421: short ioSFlags; ! 422: SInt8 ioSlot; ! 423: SInt8 ioID; ! 424: }; ! 425: typedef struct SlotDevParam SlotDevParam; ! 426: typedef SlotDevParam * SlotDevParamPtr; ! 427: ! 428: struct MultiDevParam { ! 429: QElemPtr qLink; /*queue link in header*/ ! 430: short qType; /*type byte for safety check*/ ! 431: short ioTrap; /*FS: the Trap*/ ! 432: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 433: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 434: OSErr ioResult; /*result code*/ ! 435: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 436: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 437: short ioMRefNum; ! 438: SInt8 ioMVersNum; ! 439: SInt8 ioMPermssn; ! 440: Ptr ioMMix; ! 441: short ioMFlags; ! 442: Ptr ioSEBlkPtr; ! 443: }; ! 444: typedef struct MultiDevParam MultiDevParam; ! 445: typedef MultiDevParam * MultiDevParamPtr; ! 446: ! 447: union ParamBlockRec { ! 448: IOParam ioParam; ! 449: FileParam fileParam; ! 450: VolumeParam volumeParam; ! 451: CntrlParam cntrlParam; ! 452: SlotDevParam slotDevParam; ! 453: MultiDevParam multiDevParam; ! 454: }; ! 455: ! 456: ! 457: struct HFileInfo { ! 458: QElemPtr qLink; /*queue link in header*/ ! 459: short qType; /*type byte for safety check*/ ! 460: short ioTrap; /*FS: the Trap*/ ! 461: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 462: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 463: OSErr ioResult; /*result code*/ ! 464: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 465: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 466: short ioFRefNum; ! 467: SInt8 ioFVersNum; ! 468: SInt8 filler1; ! 469: short ioFDirIndex; ! 470: SInt8 ioFlAttrib; ! 471: SInt8 ioACUser; ! 472: FInfo ioFlFndrInfo; ! 473: long ioDirID; ! 474: unsigned short ioFlStBlk; ! 475: long ioFlLgLen; ! 476: long ioFlPyLen; ! 477: unsigned short ioFlRStBlk; ! 478: long ioFlRLgLen; ! 479: long ioFlRPyLen; ! 480: unsigned long ioFlCrDat; ! 481: unsigned long ioFlMdDat; ! 482: unsigned long ioFlBkDat; ! 483: FXInfo ioFlXFndrInfo; ! 484: long ioFlParID; ! 485: long ioFlClpSiz; ! 486: }; ! 487: typedef struct HFileInfo HFileInfo; ! 488: ! 489: struct DirInfo { ! 490: QElemPtr qLink; /*queue link in header*/ ! 491: short qType; /*type byte for safety check*/ ! 492: short ioTrap; /*FS: the Trap*/ ! 493: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 494: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 495: OSErr ioResult; /*result code*/ ! 496: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 497: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 498: short ioFRefNum; ! 499: SInt8 ioFVersNum; ! 500: SInt8 filler1; ! 501: short ioFDirIndex; ! 502: SInt8 ioFlAttrib; ! 503: SInt8 ioACUser; ! 504: DInfo ioDrUsrWds; ! 505: long ioDrDirID; ! 506: unsigned short ioDrNmFls; ! 507: short filler3[9]; ! 508: unsigned long ioDrCrDat; ! 509: unsigned long ioDrMdDat; ! 510: unsigned long ioDrBkDat; ! 511: DXInfo ioDrFndrInfo; ! 512: long ioDrParID; ! 513: }; ! 514: typedef struct DirInfo DirInfo; ! 515: ! 516: union CInfoPBRec { ! 517: HFileInfo hFileInfo; ! 518: DirInfo dirInfo; ! 519: }; ! 520: typedef union CInfoPBRec CInfoPBRec; ! 521: ! 522: typedef CInfoPBRec * CInfoPBPtr; ! 523: ! 524: struct XCInfoPBRec { ! 525: QElemPtr qLink; ! 526: short qType; ! 527: short ioTrap; ! 528: Ptr ioCmdAddr; ! 529: ProcPtr ioCompletion; /* --> A pointer to a completion routine */ ! 530: OSErr ioResult; /* --> The result code of the function */ ! 531: StringPtr ioNamePtr; /* --> Pointer to pathname to object */ ! 532: short ioVRefNum; /* --> A volume specification */ ! 533: long filler1; ! 534: StringPtr ioShortNamePtr; /* <-> A pointer to the short name string buffer - required! */ ! 535: short filler2; ! 536: short ioPDType; /* <-- The ProDOS file type */ ! 537: long ioPDAuxType; /* <-- The ProDOS aux type */ ! 538: long filler3[2]; ! 539: long ioDirID; /* --> A directory ID */ ! 540: }; ! 541: typedef struct XCInfoPBRec XCInfoPBRec; ! 542: ! 543: typedef XCInfoPBRec * XCInfoPBPtr; ! 544: /* Catalog position record */ ! 545: ! 546: struct CatPositionRec { ! 547: long initialize; ! 548: short priv[6]; ! 549: }; ! 550: typedef struct CatPositionRec CatPositionRec; ! 551: ! 552: struct FSSpec { ! 553: short vRefNum; ! 554: long parID; ! 555: StrFileName name; /* a Str63 on MacOS*/ ! 556: }; ! 557: typedef struct FSSpec FSSpec; ! 558: typedef FSSpec * FSSpecPtr; ! 559: typedef FSSpecPtr * FSSpecHandle; ! 560: /* pointer to array of FSSpecs */ ! 561: typedef FSSpecPtr FSSpecArrayPtr; ! 562: /* ! 563: The only difference between "const FSSpec*" and "ConstFSSpecPtr" is ! 564: that as a parameter, ConstFSSpecPtr is allowed to be NULL ! 565: */ ! 566: ! 567: typedef const FSSpec * ConstFSSpecPtr; ! 568: ! 569: /* ! 570: The following are structures to be filled out with the _PBGetVolMountInfo call ! 571: and passed back into the _PBVolumeMount call for external file system mounts. ! 572: */ ! 573: /* the "signature" of the file system */ ! 574: typedef OSType VolumeType; ! 575: ! 576: enum { ! 577: /* the signature for AppleShare */ ! 578: AppleShareMediaType = FOUR_CHAR_CODE('afpm') ! 579: }; ! 580: ! 581: /* ! 582: VolMount stuff was once in FSM.� ! 583: */ ! 584: ! 585: struct VolMountInfoHeader { ! 586: short length; /* length of location data (including self) */ ! 587: VolumeType media; /* type of media. Variable length data follows */ ! 588: }; ! 589: typedef struct VolMountInfoHeader VolMountInfoHeader; ! 590: ! 591: typedef VolMountInfoHeader * VolMountInfoPtr; ! 592: /* The new volume mount info record. The old one is included for compatibility. ! 593: the new record allows access by foriegn filesystems writers to the flags ! 594: portion of the record. This portion is now public. ! 595: */ ! 596: ! 597: struct VolumeMountInfoHeader { ! 598: short length; /* length of location data (including self) */ ! 599: VolumeType media; /* type of media (must be registered with Apple) */ ! 600: short flags; /* volume mount flags. Variable length data follows */ ! 601: }; ! 602: typedef struct VolumeMountInfoHeader VolumeMountInfoHeader; ! 603: typedef VolumeMountInfoHeader * VolumeMountInfoHeaderPtr; ! 604: /* volume mount flags */ ! 605: ! 606: enum { ! 607: volMountNoLoginMsgFlagBit = 0, /* Input to VolumeMount: If set, the file system */ ! 608: volMountNoLoginMsgFlagMask = 0x0001, /* should suppresss any log-in message/greeting dialog */ ! 609: volMountExtendedFlagsBit = 7, /* Input to VolumeMount: If set, the mount info is a */ ! 610: volMountExtendedFlagsMask = 0x0080, /* AFPXVolMountInfo record for 3.7 AppleShare Client */ ! 611: volMountInteractBit = 15, /* Input to VolumeMount: If set, it's OK for the file system */ ! 612: volMountInteractMask = 0x8000, /* to perform user interaction to mount the volume */ ! 613: volMountChangedBit = 14, /* Output from VoumeMount: If set, the volume was mounted, but */ ! 614: volMountChangedMask = 0x4000, /* the volume mounting information record needs to be updated. */ ! 615: volMountFSReservedMask = 0x00FF, /* bits 0-7 are defined by each file system for its own use */ ! 616: volMountSysReservedMask = 0xFF00 /* bits 8-15 are reserved for Apple system use */ ! 617: }; ! 618: ! 619: ! 620: ! 621: ! 622: struct AFPVolMountInfo { ! 623: short length; /* length of location data (including self) */ ! 624: VolumeType media; /* type of media */ ! 625: short flags; /* bits for no messages, no reconnect */ ! 626: SInt8 nbpInterval; /* NBP Interval parameter (IM2, p.322) */ ! 627: SInt8 nbpCount; /* NBP Interval parameter (IM2, p.322) */ ! 628: short uamType; /* User Authentication Method */ ! 629: short zoneNameOffset; /* short positive offset from start of struct to Zone Name */ ! 630: short serverNameOffset; /* offset to pascal Server Name string */ ! 631: short volNameOffset; /* offset to pascal Volume Name string */ ! 632: short userNameOffset; /* offset to pascal User Name string */ ! 633: short userPasswordOffset; /* offset to pascal User Password string */ ! 634: short volPasswordOffset; /* offset to pascal Volume Password string */ ! 635: char AFPData[144]; /* variable length data may follow */ ! 636: }; ! 637: typedef struct AFPVolMountInfo AFPVolMountInfo; ! 638: typedef AFPVolMountInfo * AFPVolMountInfoPtr; ! 639: ! 640: ! 641: /* AFPXVolMountInfo is the new AFP volume mount info record, requires the 3.7 AppleShare Client */ ! 642: ! 643: struct AFPXVolMountInfo { ! 644: short length; /* length of location data (including self) */ ! 645: VolumeType media; /* type of media */ ! 646: short flags; /* bits for no messages, no reconnect */ ! 647: SInt8 nbpInterval; /* NBP Interval parameter (IM2, p.322) */ ! 648: SInt8 nbpCount; /* NBP Interval parameter (IM2, p.322) */ ! 649: short uamType; /* User Authentication Method type */ ! 650: short zoneNameOffset; /* short positive offset from start of struct to Zone Name */ ! 651: short serverNameOffset; /* offset to pascal Server Name string */ ! 652: short volNameOffset; /* offset to pascal Volume Name string */ ! 653: short userNameOffset; /* offset to pascal User Name string */ ! 654: short userPasswordOffset; /* offset to pascal User Password string */ ! 655: short volPasswordOffset; /* offset to pascal Volume Password string */ ! 656: short extendedFlags; /* extended flags word */ ! 657: short uamNameOffset; /* offset to a pascal UAM name string */ ! 658: short alternateAddressOffset; /* offset to Alternate Addresses in tagged format */ ! 659: char AFPData[176]; /* variable length data may follow */ ! 660: }; ! 661: typedef struct AFPXVolMountInfo AFPXVolMountInfo; ! 662: typedef AFPXVolMountInfo * AFPXVolMountInfoPtr; ! 663: ! 664: enum { ! 665: kAFPExtendedFlagsAlternateAddressMask = 1 /* bit in AFPXVolMountInfo.extendedFlags that means alternateAddressOffset is used*/ ! 666: }; ! 667: ! 668: ! 669: ! 670: enum { ! 671: /* constants for use in AFPTagData.fType field*/ ! 672: kAFPTagTypeIP = 0x01, ! 673: kAFPTagTypeIPPort = 0x02, ! 674: kAFPTagTypeDDP = 0x03 /* Currently unused*/ ! 675: }; ! 676: ! 677: ! 678: ! 679: enum { ! 680: /* constants for use in AFPTagData.fLength field*/ ! 681: kAFPTagLengthIP = 0x06, ! 682: kAFPTagLengthIPPort = 0x08, ! 683: kAFPTagLengthDDP = 0x06 ! 684: }; ! 685: ! 686: ! 687: struct AFPTagData { ! 688: UInt8 fLength; /* length of this data tag including the fLength field */ ! 689: UInt8 fType; ! 690: UInt8 fData[1]; /* variable length data */ ! 691: }; ! 692: typedef struct AFPTagData AFPTagData; ! 693: ! 694: struct AFPAlternateAddress { ! 695: UInt8 fAddressCount; ! 696: UInt8 fAddressList[1]; /* actually variable length packed set of AFPTagData */ ! 697: }; ! 698: typedef struct AFPAlternateAddress AFPAlternateAddress; ! 699: ! 700: ! 701: ! 702: struct DTPBRec { ! 703: QElemPtr qLink; /*queue link in header*/ ! 704: short qType; /*type byte for safety check*/ ! 705: short ioTrap; /*FS: the Trap*/ ! 706: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 707: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 708: OSErr ioResult; /*result code*/ ! 709: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 710: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 711: short ioDTRefNum; /* desktop refnum */ ! 712: short ioIndex; ! 713: long ioTagInfo; ! 714: Ptr ioDTBuffer; ! 715: long ioDTReqCount; ! 716: long ioDTActCount; ! 717: SInt8 ioFiller1; ! 718: SInt8 ioIconType; ! 719: short ioFiller2; ! 720: long ioDirID; ! 721: OSType ioFileCreator; ! 722: OSType ioFileType; ! 723: long ioFiller3; ! 724: long ioDTLgLen; ! 725: long ioDTPyLen; ! 726: short ioFiller4[14]; ! 727: long ioAPPLParID; ! 728: }; ! 729: typedef struct DTPBRec DTPBRec; ! 730: ! 731: typedef DTPBRec * DTPBPtr; ! 732: ! 733: struct HIOParam { ! 734: QElemPtr qLink; /*queue link in header*/ ! 735: short qType; /*type byte for safety check*/ ! 736: short ioTrap; /*FS: the Trap*/ ! 737: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 738: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 739: OSErr ioResult; /*result code*/ ! 740: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 741: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 742: short ioRefNum; ! 743: SInt8 ioVersNum; ! 744: SInt8 ioPermssn; ! 745: Ptr ioMisc; ! 746: Ptr ioBuffer; ! 747: long ioReqCount; ! 748: long ioActCount; ! 749: short ioPosMode; ! 750: long ioPosOffset; ! 751: }; ! 752: typedef struct HIOParam HIOParam; ! 753: typedef HIOParam * HIOParamPtr; ! 754: ! 755: struct HFileParam { ! 756: QElemPtr qLink; /*queue link in header*/ ! 757: short qType; /*type byte for safety check*/ ! 758: short ioTrap; /*FS: the Trap*/ ! 759: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 760: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 761: OSErr ioResult; /*result code*/ ! 762: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 763: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 764: short ioFRefNum; ! 765: SInt8 ioFVersNum; ! 766: SInt8 filler1; ! 767: short ioFDirIndex; ! 768: SInt8 ioFlAttrib; ! 769: SInt8 ioFlVersNum; ! 770: FInfo ioFlFndrInfo; ! 771: long ioDirID; ! 772: unsigned short ioFlStBlk; ! 773: long ioFlLgLen; ! 774: long ioFlPyLen; ! 775: unsigned short ioFlRStBlk; ! 776: long ioFlRLgLen; ! 777: long ioFlRPyLen; ! 778: unsigned long ioFlCrDat; ! 779: unsigned long ioFlMdDat; ! 780: }; ! 781: typedef struct HFileParam HFileParam; ! 782: typedef HFileParam * HFileParamPtr; ! 783: ! 784: struct HVolumeParam { ! 785: QElemPtr qLink; /*queue link in header*/ ! 786: short qType; /*type byte for safety check*/ ! 787: short ioTrap; /*FS: the Trap*/ ! 788: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 789: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 790: OSErr ioResult; /*result code*/ ! 791: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 792: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 793: long filler2; ! 794: short ioVolIndex; ! 795: unsigned long ioVCrDate; ! 796: unsigned long ioVLsMod; ! 797: short ioVAtrb; ! 798: unsigned short ioVNmFls; ! 799: unsigned short ioVBitMap; ! 800: unsigned short ioAllocPtr; ! 801: unsigned short ioVNmAlBlks; ! 802: unsigned long ioVAlBlkSiz; ! 803: unsigned long ioVClpSiz; ! 804: unsigned short ioAlBlSt; ! 805: unsigned long ioVNxtCNID; ! 806: unsigned short ioVFrBlk; ! 807: unsigned short ioVSigWord; ! 808: short ioVDrvInfo; ! 809: short ioVDRefNum; ! 810: short ioVFSID; ! 811: unsigned long ioVBkUp; ! 812: short ioVSeqNum; ! 813: unsigned long ioVWrCnt; ! 814: unsigned long ioVFilCnt; ! 815: unsigned long ioVDirCnt; ! 816: long ioVFndrInfo[8]; ! 817: }; ! 818: typedef struct HVolumeParam HVolumeParam; ! 819: typedef HVolumeParam * HVolumeParamPtr; ! 820: ! 821: enum { ! 822: /* Large Volume Constants */ ! 823: kWidePosOffsetBit = 8, ! 824: kUseWidePositioning = (1 << kWidePosOffsetBit), ! 825: kMaximumBlocksIn4GB = 0x007FFFFF ! 826: }; ! 827: ! 828: ! 829: struct XIOParam { ! 830: QElemPtr qLink; ! 831: short qType; ! 832: short ioTrap; ! 833: Ptr ioCmdAddr; ! 834: IOCompletionUPP ioCompletion; ! 835: OSErr ioResult; ! 836: StringPtr ioNamePtr; ! 837: short ioVRefNum; ! 838: short ioRefNum; ! 839: SInt8 ioVersNum; ! 840: SInt8 ioPermssn; ! 841: Ptr ioMisc; ! 842: Ptr ioBuffer; ! 843: long ioReqCount; ! 844: long ioActCount; ! 845: short ioPosMode; /* must have kUseWidePositioning bit set */ ! 846: wide ioWPosOffset; /* wide positioning offset */ ! 847: }; ! 848: typedef struct XIOParam XIOParam; ! 849: typedef XIOParam * XIOParamPtr; ! 850: ! 851: struct XVolumeParam { ! 852: QElemPtr qLink; ! 853: short qType; ! 854: short ioTrap; ! 855: Ptr ioCmdAddr; ! 856: IOCompletionUPP ioCompletion; ! 857: OSErr ioResult; ! 858: StringPtr ioNamePtr; ! 859: short ioVRefNum; ! 860: unsigned long ioXVersion; /* this XVolumeParam version (0) */ ! 861: short ioVolIndex; ! 862: unsigned long ioVCrDate; ! 863: unsigned long ioVLsMod; ! 864: short ioVAtrb; ! 865: unsigned short ioVNmFls; ! 866: unsigned short ioVBitMap; ! 867: unsigned short ioAllocPtr; ! 868: unsigned short ioVNmAlBlks; ! 869: unsigned long ioVAlBlkSiz; ! 870: unsigned long ioVClpSiz; ! 871: unsigned short ioAlBlSt; ! 872: unsigned long ioVNxtCNID; ! 873: unsigned short ioVFrBlk; ! 874: unsigned short ioVSigWord; ! 875: short ioVDrvInfo; ! 876: short ioVDRefNum; ! 877: short ioVFSID; ! 878: unsigned long ioVBkUp; ! 879: short ioVSeqNum; ! 880: unsigned long ioVWrCnt; ! 881: unsigned long ioVFilCnt; ! 882: unsigned long ioVDirCnt; ! 883: long ioVFndrInfo[8]; ! 884: UnsignedWide ioVTotalBytes; /* total number of bytes on volume */ ! 885: UnsignedWide ioVFreeBytes; /* number of free bytes on volume */ ! 886: }; ! 887: typedef struct XVolumeParam XVolumeParam; ! 888: typedef XVolumeParam * XVolumeParamPtr; ! 889: ! 890: struct AccessParam { ! 891: QElemPtr qLink; /*queue link in header*/ ! 892: short qType; /*type byte for safety check*/ ! 893: short ioTrap; /*FS: the Trap*/ ! 894: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 895: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 896: OSErr ioResult; /*result code*/ ! 897: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 898: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 899: short filler3; ! 900: short ioDenyModes; /*access rights data*/ ! 901: short filler4; ! 902: SInt8 filler5; ! 903: SInt8 ioACUser; /*access rights for directory only*/ ! 904: long filler6; ! 905: long ioACOwnerID; /*owner ID*/ ! 906: long ioACGroupID; /*group ID*/ ! 907: long ioACAccess; /*access rights*/ ! 908: long ioDirID; ! 909: }; ! 910: typedef struct AccessParam AccessParam; ! 911: typedef AccessParam * AccessParamPtr; ! 912: ! 913: struct ObjParam { ! 914: QElemPtr qLink; /*queue link in header*/ ! 915: short qType; /*type byte for safety check*/ ! 916: short ioTrap; /*FS: the Trap*/ ! 917: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 918: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 919: OSErr ioResult; /*result code*/ ! 920: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 921: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 922: short filler7; ! 923: short ioObjType; /*function code*/ ! 924: StringPtr ioObjNamePtr; /*ptr to returned creator/group name*/ ! 925: long ioObjID; /*creator/group ID*/ ! 926: }; ! 927: typedef struct ObjParam ObjParam; ! 928: typedef ObjParam * ObjParamPtr; ! 929: ! 930: struct CopyParam { ! 931: QElemPtr qLink; /*queue link in header*/ ! 932: short qType; /*type byte for safety check*/ ! 933: short ioTrap; /*FS: the Trap*/ ! 934: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 935: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 936: OSErr ioResult; /*result code*/ ! 937: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 938: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 939: short ioDstVRefNum; /*destination vol identifier*/ ! 940: short filler8; ! 941: StringPtr ioNewName; /*ptr to destination pathname*/ ! 942: StringPtr ioCopyName; /*ptr to optional name*/ ! 943: long ioNewDirID; /*destination directory ID*/ ! 944: long filler14; ! 945: long filler15; ! 946: long ioDirID; ! 947: }; ! 948: typedef struct CopyParam CopyParam; ! 949: typedef CopyParam * CopyParamPtr; ! 950: ! 951: struct WDParam { ! 952: QElemPtr qLink; /*queue link in header*/ ! 953: short qType; /*type byte for safety check*/ ! 954: short ioTrap; /*FS: the Trap*/ ! 955: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 956: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 957: OSErr ioResult; /*result code*/ ! 958: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 959: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 960: short filler9; ! 961: short ioWDIndex; ! 962: long ioWDProcID; ! 963: short ioWDVRefNum; ! 964: short filler10; ! 965: long filler11; ! 966: long filler12; ! 967: long filler13; ! 968: long ioWDDirID; ! 969: }; ! 970: typedef struct WDParam WDParam; ! 971: typedef WDParam * WDParamPtr; ! 972: ! 973: struct FIDParam { ! 974: QElemPtr qLink; /*queue link in header*/ ! 975: short qType; /*type byte for safety check*/ ! 976: short ioTrap; /*FS: the Trap*/ ! 977: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 978: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 979: OSErr ioResult; /*result code*/ ! 980: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 981: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 982: long filler14; ! 983: StringPtr ioDestNamePtr; /* dest file name */ ! 984: long filler15; ! 985: long ioDestDirID; /* dest file's directory id */ ! 986: long filler16; ! 987: long filler17; ! 988: long ioSrcDirID; /* source file's directory id */ ! 989: short filler18; ! 990: long ioFileID; /* file ID */ ! 991: }; ! 992: typedef struct FIDParam FIDParam; ! 993: typedef FIDParam * FIDParamPtr; ! 994: ! 995: struct ForeignPrivParam { ! 996: QElemPtr qLink; /*queue link in header*/ ! 997: short qType; /*type byte for safety check*/ ! 998: short ioTrap; /*FS: the Trap*/ ! 999: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 1000: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 1001: OSErr ioResult; /*result code*/ ! 1002: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 1003: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 1004: long ioFiller21; ! 1005: long ioFiller22; ! 1006: Ptr ioForeignPrivBuffer; ! 1007: long ioForeignPrivActCount; ! 1008: long ioForeignPrivReqCount; ! 1009: long ioFiller23; ! 1010: long ioForeignPrivDirID; ! 1011: long ioForeignPrivInfo1; ! 1012: long ioForeignPrivInfo2; ! 1013: long ioForeignPrivInfo3; ! 1014: long ioForeignPrivInfo4; ! 1015: }; ! 1016: typedef struct ForeignPrivParam ForeignPrivParam; ! 1017: typedef ForeignPrivParam * ForeignPrivParamPtr; ! 1018: ! 1019: struct CSParam { ! 1020: QElemPtr qLink; /*queue link in header*/ ! 1021: short qType; /*type byte for safety check*/ ! 1022: short ioTrap; /*FS: the Trap*/ ! 1023: Ptr ioCmdAddr; /*FS: address to dispatch to*/ ! 1024: IOCompletionUPP ioCompletion; /*completion routine addr (0 for synch calls)*/ ! 1025: OSErr ioResult; /*result code*/ ! 1026: StringPtr ioNamePtr; /*ptr to Vol:FileName string*/ ! 1027: short ioVRefNum; /*volume refnum (DrvNum for Eject and MountVol)*/ ! 1028: FSSpecPtr ioMatchPtr; /* match array */ ! 1029: long ioReqMatchCount; /* maximum allowable matches */ ! 1030: long ioActMatchCount; /* actual match count */ ! 1031: long ioSearchBits; /* search criteria selector */ ! 1032: CInfoPBPtr ioSearchInfo1; /* search values and range lower bounds */ ! 1033: CInfoPBPtr ioSearchInfo2; /* search values and range upper bounds */ ! 1034: long ioSearchTime; /* length of time to run search */ ! 1035: CatPositionRec ioCatPosition; /* current position in the catalog */ ! 1036: Ptr ioOptBuffer; /* optional performance enhancement buffer */ ! 1037: long ioOptBufSize; /* size of buffer pointed to by ioOptBuffer */ ! 1038: }; ! 1039: typedef struct CSParam CSParam; ! 1040: typedef CSParam * CSParamPtr; ! 1041: ! 1042: ! 1043: ! 1044: union HParamBlockRec { ! 1045: HIOParam ioParam; ! 1046: HFileParam fileParam; ! 1047: HVolumeParam volumeParam; ! 1048: AccessParam accessParam; ! 1049: ObjParam objParam; ! 1050: CopyParam copyParam; ! 1051: WDParam wdParam; ! 1052: FIDParam fidParam; ! 1053: CSParam csParam; ! 1054: ForeignPrivParam foreignPrivParam; ! 1055: }; ! 1056: typedef union HParamBlockRec HParamBlockRec; ! 1057: ! 1058: typedef HParamBlockRec * HParmBlkPtr; ! 1059: ! 1060: ! 1061: struct CMovePBRec { ! 1062: QElemPtr qLink; ! 1063: short qType; ! 1064: short ioTrap; ! 1065: Ptr ioCmdAddr; ! 1066: IOCompletionUPP ioCompletion; ! 1067: OSErr ioResult; ! 1068: StringPtr ioNamePtr; ! 1069: short ioVRefNum; ! 1070: long filler1; ! 1071: StringPtr ioNewName; ! 1072: long filler2; ! 1073: long ioNewDirID; ! 1074: long filler3[2]; ! 1075: long ioDirID; ! 1076: }; ! 1077: typedef struct CMovePBRec CMovePBRec; ! 1078: ! 1079: typedef CMovePBRec * CMovePBPtr; ! 1080: ! 1081: struct WDPBRec { ! 1082: QElemPtr qLink; ! 1083: short qType; ! 1084: short ioTrap; ! 1085: Ptr ioCmdAddr; ! 1086: IOCompletionUPP ioCompletion; ! 1087: OSErr ioResult; ! 1088: StringPtr ioNamePtr; ! 1089: short ioVRefNum; ! 1090: short filler1; ! 1091: short ioWDIndex; ! 1092: long ioWDProcID; ! 1093: short ioWDVRefNum; ! 1094: short filler2[7]; ! 1095: long ioWDDirID; ! 1096: }; ! 1097: typedef struct WDPBRec WDPBRec; ! 1098: ! 1099: typedef WDPBRec * WDPBPtr; ! 1100: ! 1101: struct FCBPBRec { ! 1102: QElemPtr qLink; ! 1103: short qType; ! 1104: short ioTrap; ! 1105: Ptr ioCmdAddr; ! 1106: IOCompletionUPP ioCompletion; ! 1107: OSErr ioResult; ! 1108: StringPtr ioNamePtr; ! 1109: short ioVRefNum; ! 1110: short ioRefNum; ! 1111: short filler; ! 1112: short ioFCBIndx; ! 1113: short filler1; ! 1114: long ioFCBFlNm; ! 1115: short ioFCBFlags; ! 1116: unsigned short ioFCBStBlk; ! 1117: long ioFCBEOF; ! 1118: long ioFCBPLen; ! 1119: long ioFCBCrPs; ! 1120: short ioFCBVRefNum; ! 1121: long ioFCBClpSiz; ! 1122: long ioFCBParID; ! 1123: }; ! 1124: typedef struct FCBPBRec FCBPBRec; ! 1125: ! 1126: typedef FCBPBRec * FCBPBPtr; ! 1127: ! 1128: struct VCB { ! 1129: QElemPtr qLink; ! 1130: short qType; ! 1131: short vcbFlags; ! 1132: unsigned short vcbSigWord; ! 1133: unsigned long vcbCrDate; ! 1134: unsigned long vcbLsMod; ! 1135: short vcbAtrb; ! 1136: unsigned short vcbNmFls; ! 1137: short vcbVBMSt; ! 1138: short vcbAllocPtr; ! 1139: unsigned short vcbNmAlBlks; ! 1140: long vcbAlBlkSiz; ! 1141: long vcbClpSiz; ! 1142: short vcbAlBlSt; ! 1143: long vcbNxtCNID; ! 1144: unsigned short vcbFreeBks; ! 1145: Str27 vcbVN; ! 1146: short vcbDrvNum; ! 1147: short vcbDRefNum; ! 1148: short vcbFSID; ! 1149: short vcbVRefNum; ! 1150: Ptr vcbMAdr; ! 1151: Ptr vcbBufAdr; ! 1152: short vcbMLen; ! 1153: short vcbDirIndex; ! 1154: short vcbDirBlk; ! 1155: unsigned long vcbVolBkUp; ! 1156: unsigned short vcbVSeqNum; ! 1157: long vcbWrCnt; ! 1158: long vcbXTClpSiz; ! 1159: long vcbCTClpSiz; ! 1160: unsigned short vcbNmRtDirs; ! 1161: long vcbFilCnt; ! 1162: long vcbDirCnt; ! 1163: long vcbFndrInfo[8]; ! 1164: unsigned short vcbVCSize; ! 1165: unsigned short vcbVBMCSiz; ! 1166: unsigned short vcbCtlCSiz; ! 1167: unsigned short vcbXTAlBlks; ! 1168: unsigned short vcbCTAlBlks; ! 1169: short vcbXTRef; ! 1170: short vcbCTRef; ! 1171: Ptr vcbCtlBuf; ! 1172: long vcbDirIDM; ! 1173: short vcbOffsM; ! 1174: }; ! 1175: typedef struct VCB VCB; ! 1176: typedef VCB * VCBPtr; ! 1177: ! 1178: struct DrvQEl { ! 1179: QElemPtr qLink; ! 1180: short qType; ! 1181: short dQDrive; ! 1182: short dQRefNum; ! 1183: short dQFSID; ! 1184: unsigned short dQDrvSz; ! 1185: unsigned short dQDrvSz2; ! 1186: }; ! 1187: typedef struct DrvQEl DrvQEl; ! 1188: typedef DrvQEl * DrvQElPtr; ! 1189: enum { uppIOCompletionProcInfo = 0x00009802 }; /* register no_return_value Func(4_bytes:A0) */ ! 1190: #if MIXEDMODE_CALLS_ARE_FUNCTIONS ! 1191: EXTERN_API(IOCompletionUPP) ! 1192: NewIOCompletionProc (IOCompletionProcPtr userRoutine); ! 1193: EXTERN_API(void) ! 1194: CallIOCompletionProc (IOCompletionUPP userRoutine, ! 1195: ParmBlkPtr paramBlock); ! 1196: #else ! 1197: #define NewIOCompletionProc(userRoutine) (IOCompletionUPP)NewRoutineDescriptor((ProcPtr)(userRoutine), uppIOCompletionProcInfo, GetCurrentArchitecture()) ! 1198: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1199: #pragma parameter CallIOCompletionProc(__A1, __A0) ! 1200: void CallIOCompletionProc(IOCompletionUPP routine, ParmBlkPtr paramBlock) = 0x4E91; ! 1201: #else ! 1202: #define CallIOCompletionProc(userRoutine, paramBlock) CALL_ONE_PARAMETER_UPP((userRoutine), uppIOCompletionProcInfo, (paramBlock)) ! 1203: #endif ! 1204: #endif ! 1205: #if OLDROUTINELOCATIONS ! 1206: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1207: #pragma parameter __D0 PBOpenSync(__A0) ! 1208: #endif ! 1209: EXTERN_API( OSErr ) PBOpenSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA000); ! 1210: ! 1211: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1212: #pragma parameter __D0 PBOpenAsync(__A0) ! 1213: #endif ! 1214: EXTERN_API( OSErr ) PBOpenAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA400); ! 1215: ! 1216: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1217: #pragma parameter __D0 PBOpenImmed(__A0) ! 1218: #endif ! 1219: EXTERN_API( OSErr ) PBOpenImmed(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA200); ! 1220: ! 1221: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1222: #pragma parameter __D0 PBCloseSync(__A0) ! 1223: #endif ! 1224: EXTERN_API( OSErr ) PBCloseSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA001); ! 1225: ! 1226: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1227: #pragma parameter __D0 PBCloseAsync(__A0) ! 1228: #endif ! 1229: EXTERN_API( OSErr ) PBCloseAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA401); ! 1230: ! 1231: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1232: #pragma parameter __D0 PBCloseImmed(__A0) ! 1233: #endif ! 1234: EXTERN_API( OSErr ) PBCloseImmed(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA201); ! 1235: ! 1236: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1237: #pragma parameter __D0 PBReadSync(__A0) ! 1238: #endif ! 1239: EXTERN_API( OSErr ) PBReadSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA002); ! 1240: ! 1241: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1242: #pragma parameter __D0 PBReadAsync(__A0) ! 1243: #endif ! 1244: EXTERN_API( OSErr ) PBReadAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA402); ! 1245: ! 1246: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1247: #pragma parameter __D0 PBReadImmed(__A0) ! 1248: #endif ! 1249: EXTERN_API( OSErr ) PBReadImmed(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA202); ! 1250: ! 1251: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1252: #pragma parameter __D0 PBWriteSync(__A0) ! 1253: #endif ! 1254: EXTERN_API( OSErr ) PBWriteSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA003); ! 1255: ! 1256: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1257: #pragma parameter __D0 PBWriteAsync(__A0) ! 1258: #endif ! 1259: EXTERN_API( OSErr ) PBWriteAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA403); ! 1260: ! 1261: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1262: #pragma parameter __D0 PBWriteImmed(__A0) ! 1263: #endif ! 1264: EXTERN_API( OSErr ) PBWriteImmed(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA203); ! 1265: ! 1266: #endif /* OLDROUTINELOCATIONS */ ! 1267: ! 1268: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1269: #pragma parameter __D0 PBGetVInfoSync(__A0) ! 1270: #endif ! 1271: EXTERN_API( OSErr ) PBGetVInfoSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA007); ! 1272: ! 1273: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1274: #pragma parameter __D0 PBGetVInfoAsync(__A0) ! 1275: #endif ! 1276: EXTERN_API( OSErr ) PBGetVInfoAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA407); ! 1277: ! 1278: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1279: #pragma parameter __D0 PBXGetVolInfoSync(__A0) ! 1280: #endif ! 1281: EXTERN_API( OSErr ) PBXGetVolInfoSync(XVolumeParamPtr paramBlock) TWOWORDINLINE(0x7012, 0xA060); ! 1282: ! 1283: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1284: #pragma parameter __D0 PBXGetVolInfoAsync(__A0) ! 1285: #endif ! 1286: EXTERN_API( OSErr ) PBXGetVolInfoAsync(XVolumeParamPtr paramBlock) TWOWORDINLINE(0x7012, 0xA460); ! 1287: ! 1288: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1289: #pragma parameter __D0 PBGetVolSync(__A0) ! 1290: #endif ! 1291: EXTERN_API( OSErr ) PBGetVolSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA014); ! 1292: ! 1293: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1294: #pragma parameter __D0 PBGetVolAsync(__A0) ! 1295: #endif ! 1296: EXTERN_API( OSErr ) PBGetVolAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA414); ! 1297: ! 1298: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1299: #pragma parameter __D0 PBSetVolSync(__A0) ! 1300: #endif ! 1301: EXTERN_API( OSErr ) PBSetVolSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA015); ! 1302: ! 1303: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1304: #pragma parameter __D0 PBSetVolAsync(__A0) ! 1305: #endif ! 1306: EXTERN_API( OSErr ) PBSetVolAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA415); ! 1307: ! 1308: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1309: #pragma parameter __D0 PBFlushVolSync(__A0) ! 1310: #endif ! 1311: EXTERN_API( OSErr ) PBFlushVolSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA013); ! 1312: ! 1313: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1314: #pragma parameter __D0 PBFlushVolAsync(__A0) ! 1315: #endif ! 1316: EXTERN_API( OSErr ) PBFlushVolAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA413); ! 1317: ! 1318: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1319: #pragma parameter __D0 PBHTrashVolumeCachesSync(__A0) ! 1320: #endif ! 1321: EXTERN_API( OSErr ) PBHTrashVolumeCachesSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA213); ! 1322: ! 1323: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1324: #pragma parameter __D0 PBCreateSync(__A0) ! 1325: #endif ! 1326: EXTERN_API( OSErr ) PBCreateSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA008); ! 1327: ! 1328: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1329: #pragma parameter __D0 PBCreateAsync(__A0) ! 1330: #endif ! 1331: EXTERN_API( OSErr ) PBCreateAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA408); ! 1332: ! 1333: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1334: #pragma parameter __D0 PBDeleteSync(__A0) ! 1335: #endif ! 1336: EXTERN_API( OSErr ) PBDeleteSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA009); ! 1337: ! 1338: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1339: #pragma parameter __D0 PBDeleteAsync(__A0) ! 1340: #endif ! 1341: EXTERN_API( OSErr ) PBDeleteAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA409); ! 1342: ! 1343: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1344: #pragma parameter __D0 PBOpenDFSync(__A0) ! 1345: #endif ! 1346: EXTERN_API( OSErr ) PBOpenDFSync(ParmBlkPtr paramBlock) TWOWORDINLINE(0x701A, 0xA060); ! 1347: ! 1348: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1349: #pragma parameter __D0 PBOpenDFAsync(__A0) ! 1350: #endif ! 1351: EXTERN_API( OSErr ) PBOpenDFAsync(ParmBlkPtr paramBlock) TWOWORDINLINE(0x701A, 0xA460); ! 1352: ! 1353: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1354: #pragma parameter __D0 PBOpenRFSync(__A0) ! 1355: #endif ! 1356: EXTERN_API( OSErr ) PBOpenRFSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA00A); ! 1357: ! 1358: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1359: #pragma parameter __D0 PBOpenRFAsync(__A0) ! 1360: #endif ! 1361: EXTERN_API( OSErr ) PBOpenRFAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA40A); ! 1362: ! 1363: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1364: #pragma parameter __D0 PBRenameSync(__A0) ! 1365: #endif ! 1366: EXTERN_API( OSErr ) PBRenameSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA00B); ! 1367: ! 1368: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1369: #pragma parameter __D0 PBRenameAsync(__A0) ! 1370: #endif ! 1371: EXTERN_API( OSErr ) PBRenameAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA40B); ! 1372: ! 1373: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1374: #pragma parameter __D0 PBGetFInfoSync(__A0) ! 1375: #endif ! 1376: EXTERN_API( OSErr ) PBGetFInfoSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA00C); ! 1377: ! 1378: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1379: #pragma parameter __D0 PBGetFInfoAsync(__A0) ! 1380: #endif ! 1381: EXTERN_API( OSErr ) PBGetFInfoAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA40C); ! 1382: ! 1383: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1384: #pragma parameter __D0 PBSetFInfoSync(__A0) ! 1385: #endif ! 1386: EXTERN_API( OSErr ) PBSetFInfoSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA00D); ! 1387: ! 1388: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1389: #pragma parameter __D0 PBSetFInfoAsync(__A0) ! 1390: #endif ! 1391: EXTERN_API( OSErr ) PBSetFInfoAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA40D); ! 1392: ! 1393: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1394: #pragma parameter __D0 PBSetFLockSync(__A0) ! 1395: #endif ! 1396: EXTERN_API( OSErr ) PBSetFLockSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA041); ! 1397: ! 1398: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1399: #pragma parameter __D0 PBSetFLockAsync(__A0) ! 1400: #endif ! 1401: EXTERN_API( OSErr ) PBSetFLockAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA441); ! 1402: ! 1403: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1404: #pragma parameter __D0 PBRstFLockSync(__A0) ! 1405: #endif ! 1406: EXTERN_API( OSErr ) PBRstFLockSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA042); ! 1407: ! 1408: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1409: #pragma parameter __D0 PBRstFLockAsync(__A0) ! 1410: #endif ! 1411: EXTERN_API( OSErr ) PBRstFLockAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA442); ! 1412: ! 1413: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1414: #pragma parameter __D0 PBSetFVersSync(__A0) ! 1415: #endif ! 1416: EXTERN_API( OSErr ) PBSetFVersSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA043); ! 1417: ! 1418: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1419: #pragma parameter __D0 PBSetFVersAsync(__A0) ! 1420: #endif ! 1421: EXTERN_API( OSErr ) PBSetFVersAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA443); ! 1422: ! 1423: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1424: #pragma parameter __D0 PBAllocateSync(__A0) ! 1425: #endif ! 1426: EXTERN_API( OSErr ) PBAllocateSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA010); ! 1427: ! 1428: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1429: #pragma parameter __D0 PBAllocateAsync(__A0) ! 1430: #endif ! 1431: EXTERN_API( OSErr ) PBAllocateAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA410); ! 1432: ! 1433: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1434: #pragma parameter __D0 PBGetEOFSync(__A0) ! 1435: #endif ! 1436: EXTERN_API( OSErr ) PBGetEOFSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA011); ! 1437: ! 1438: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1439: #pragma parameter __D0 PBGetEOFAsync(__A0) ! 1440: #endif ! 1441: EXTERN_API( OSErr ) PBGetEOFAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA411); ! 1442: ! 1443: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1444: #pragma parameter __D0 PBSetEOFSync(__A0) ! 1445: #endif ! 1446: EXTERN_API( OSErr ) PBSetEOFSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA012); ! 1447: ! 1448: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1449: #pragma parameter __D0 PBSetEOFAsync(__A0) ! 1450: #endif ! 1451: EXTERN_API( OSErr ) PBSetEOFAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA412); ! 1452: ! 1453: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1454: #pragma parameter __D0 PBGetFPosSync(__A0) ! 1455: #endif ! 1456: EXTERN_API( OSErr ) PBGetFPosSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA018); ! 1457: ! 1458: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1459: #pragma parameter __D0 PBGetFPosAsync(__A0) ! 1460: #endif ! 1461: EXTERN_API( OSErr ) PBGetFPosAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA418); ! 1462: ! 1463: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1464: #pragma parameter __D0 PBSetFPosSync(__A0) ! 1465: #endif ! 1466: EXTERN_API( OSErr ) PBSetFPosSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA044); ! 1467: ! 1468: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1469: #pragma parameter __D0 PBSetFPosAsync(__A0) ! 1470: #endif ! 1471: EXTERN_API( OSErr ) PBSetFPosAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA444); ! 1472: ! 1473: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1474: #pragma parameter __D0 PBFlushFileSync(__A0) ! 1475: #endif ! 1476: EXTERN_API( OSErr ) PBFlushFileSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA045); ! 1477: ! 1478: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1479: #pragma parameter __D0 PBFlushFileAsync(__A0) ! 1480: #endif ! 1481: EXTERN_API( OSErr ) PBFlushFileAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA445); ! 1482: ! 1483: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1484: #pragma parameter __D0 PBMountVol(__A0) ! 1485: #endif ! 1486: EXTERN_API( OSErr ) PBMountVol(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA00F); ! 1487: ! 1488: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1489: #pragma parameter __D0 PBUnmountVol(__A0) ! 1490: #endif ! 1491: EXTERN_API( OSErr ) PBUnmountVol(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA00E); ! 1492: ! 1493: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1494: #pragma parameter __D0 PBUnmountVolImmed(__A0) ! 1495: #endif ! 1496: EXTERN_API( OSErr ) PBUnmountVolImmed(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA20E); ! 1497: ! 1498: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1499: #pragma parameter __D0 PBEject(__A0) ! 1500: #endif ! 1501: EXTERN_API( OSErr ) PBEject(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA017); ! 1502: ! 1503: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1504: #pragma parameter __D0 PBOffLine(__A0) ! 1505: #endif ! 1506: EXTERN_API( OSErr ) PBOffLine(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA035); ! 1507: ! 1508: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1509: #pragma parameter __D0 PBCatSearchSync(__A0) ! 1510: #endif ! 1511: EXTERN_API( OSErr ) PBCatSearchSync(CSParamPtr paramBlock) TWOWORDINLINE(0x7018, 0xA260); ! 1512: ! 1513: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1514: #pragma parameter __D0 PBCatSearchAsync(__A0) ! 1515: #endif ! 1516: EXTERN_API( OSErr ) PBCatSearchAsync(CSParamPtr paramBlock) TWOWORDINLINE(0x7018, 0xA660); ! 1517: ! 1518: EXTERN_API( OSErr ) ! 1519: SetVol (ConstStr63Param volName, ! 1520: short vRefNum); ! 1521: ! 1522: EXTERN_API( OSErr ) ! 1523: UnmountVol (ConstStr63Param volName, ! 1524: short vRefNum); ! 1525: ! 1526: EXTERN_API( OSErr ) ! 1527: Eject (ConstStr63Param volName, ! 1528: short vRefNum); ! 1529: ! 1530: EXTERN_API( OSErr ) ! 1531: FlushVol (ConstStr63Param volName, ! 1532: short vRefNum); ! 1533: ! 1534: EXTERN_API( OSErr ) ! 1535: HSetVol (ConstStr63Param volName, ! 1536: short vRefNum, ! 1537: long dirID); ! 1538: ! 1539: #if OLDROUTINELOCATIONS ! 1540: EXTERN_API( void ) ! 1541: AddDrive (short drvrRefNum, ! 1542: short drvNum, ! 1543: DrvQElPtr qEl); ! 1544: ! 1545: #endif /* OLDROUTINELOCATIONS */ ! 1546: ! 1547: EXTERN_API( OSErr ) ! 1548: FSOpen (ConstStr255Param fileName, ! 1549: short vRefNum, ! 1550: short * refNum); ! 1551: ! 1552: EXTERN_API( OSErr ) ! 1553: OpenDF (ConstStr255Param fileName, ! 1554: short vRefNum, ! 1555: short * refNum); ! 1556: ! 1557: EXTERN_API( OSErr ) ! 1558: FSClose (short refNum); ! 1559: ! 1560: EXTERN_API( OSErr ) ! 1561: FSRead (short refNum, ! 1562: long * count, ! 1563: void * buffPtr); ! 1564: ! 1565: EXTERN_API( OSErr ) ! 1566: FSWrite (short refNum, ! 1567: long * count, ! 1568: const void * buffPtr); ! 1569: ! 1570: EXTERN_API( OSErr ) ! 1571: GetVInfo (short drvNum, ! 1572: StringPtr volName, ! 1573: short * vRefNum, ! 1574: long * freeBytes); ! 1575: ! 1576: EXTERN_API( OSErr ) ! 1577: GetFInfo (ConstStr255Param fileName, ! 1578: short vRefNum, ! 1579: FInfo * fndrInfo); ! 1580: ! 1581: EXTERN_API( OSErr ) ! 1582: GetVol (StringPtr volName, ! 1583: short * vRefNum); ! 1584: ! 1585: EXTERN_API( OSErr ) ! 1586: Create (ConstStr255Param fileName, ! 1587: short vRefNum, ! 1588: OSType creator, ! 1589: OSType fileType); ! 1590: ! 1591: EXTERN_API( OSErr ) ! 1592: FSDelete (ConstStr255Param fileName, ! 1593: short vRefNum); ! 1594: ! 1595: EXTERN_API( OSErr ) ! 1596: OpenRF (ConstStr255Param fileName, ! 1597: short vRefNum, ! 1598: short * refNum); ! 1599: ! 1600: EXTERN_API( OSErr ) ! 1601: Rename (ConstStr255Param oldName, ! 1602: short vRefNum, ! 1603: ConstStr255Param newName); ! 1604: ! 1605: EXTERN_API( OSErr ) ! 1606: SetFInfo (ConstStr255Param fileName, ! 1607: short vRefNum, ! 1608: const FInfo * fndrInfo); ! 1609: ! 1610: EXTERN_API( OSErr ) ! 1611: SetFLock (ConstStr255Param fileName, ! 1612: short vRefNum); ! 1613: ! 1614: EXTERN_API( OSErr ) ! 1615: RstFLock (ConstStr255Param fileName, ! 1616: short vRefNum); ! 1617: ! 1618: EXTERN_API( OSErr ) ! 1619: Allocate (short refNum, ! 1620: long * count); ! 1621: ! 1622: EXTERN_API( OSErr ) ! 1623: GetEOF (short refNum, ! 1624: long * logEOF); ! 1625: ! 1626: EXTERN_API( OSErr ) ! 1627: SetEOF (short refNum, ! 1628: long logEOF); ! 1629: ! 1630: EXTERN_API( OSErr ) ! 1631: GetFPos (short refNum, ! 1632: long * filePos); ! 1633: ! 1634: EXTERN_API( OSErr ) ! 1635: SetFPos (short refNum, ! 1636: short posMode, ! 1637: long posOff); ! 1638: ! 1639: EXTERN_API( OSErr ) ! 1640: GetVRefNum (short fileRefNum, ! 1641: short * vRefNum); ! 1642: ! 1643: #if CGLUESUPPORTED ! 1644: EXTERN_API_C( OSErr ) ! 1645: fsopen (const char * fileName, ! 1646: short vRefNum, ! 1647: short * refNum); ! 1648: ! 1649: EXTERN_API_C( OSErr ) ! 1650: getvinfo (short drvNum, ! 1651: char * volName, ! 1652: short * vRefNum, ! 1653: long * freeBytes); ! 1654: ! 1655: EXTERN_API_C( OSErr ) ! 1656: getfinfo (const char * fileName, ! 1657: short vRefNum, ! 1658: FInfo * fndrInfo); ! 1659: ! 1660: EXTERN_API_C( OSErr ) ! 1661: getvol (char * volName, ! 1662: short * vRefNum); ! 1663: ! 1664: EXTERN_API_C( OSErr ) ! 1665: setvol (const char * volName, ! 1666: short vRefNum); ! 1667: ! 1668: EXTERN_API_C( OSErr ) ! 1669: unmountvol (const char * volName, ! 1670: short vRefNum); ! 1671: ! 1672: EXTERN_API_C( OSErr ) ! 1673: eject (const char * volName, ! 1674: short vRefNum); ! 1675: ! 1676: EXTERN_API_C( OSErr ) ! 1677: flushvol (const char * volName, ! 1678: short vRefNum); ! 1679: ! 1680: EXTERN_API_C( OSErr ) ! 1681: create (const char * fileName, ! 1682: short vRefNum, ! 1683: OSType creator, ! 1684: OSType fileType); ! 1685: ! 1686: EXTERN_API_C( OSErr ) ! 1687: fsdelete (const char * fileName, ! 1688: short vRefNum); ! 1689: ! 1690: EXTERN_API_C( OSErr ) ! 1691: openrf (const char * fileName, ! 1692: short vRefNum, ! 1693: short * refNum); ! 1694: ! 1695: EXTERN_API_C( OSErr ) ! 1696: fsrename (const char * oldName, ! 1697: short vRefNum, ! 1698: const char * newName); ! 1699: ! 1700: EXTERN_API_C( OSErr ) ! 1701: setfinfo (const char * fileName, ! 1702: short vRefNum, ! 1703: const FInfo * fndrInfo); ! 1704: ! 1705: EXTERN_API_C( OSErr ) ! 1706: setflock (const char * fileName, ! 1707: short vRefNum); ! 1708: ! 1709: EXTERN_API_C( OSErr ) ! 1710: rstflock (const char * fileName, ! 1711: short vRefNum); ! 1712: ! 1713: #endif /* CGLUESUPPORTED */ ! 1714: ! 1715: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1716: #pragma parameter __D0 PBOpenWDSync(__A0) ! 1717: #endif ! 1718: EXTERN_API( OSErr ) PBOpenWDSync(WDPBPtr paramBlock) TWOWORDINLINE(0x7001, 0xA260); ! 1719: ! 1720: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1721: #pragma parameter __D0 PBOpenWDAsync(__A0) ! 1722: #endif ! 1723: EXTERN_API( OSErr ) PBOpenWDAsync(WDPBPtr paramBlock) TWOWORDINLINE(0x7001, 0xA660); ! 1724: ! 1725: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1726: #pragma parameter __D0 PBCloseWDSync(__A0) ! 1727: #endif ! 1728: EXTERN_API( OSErr ) PBCloseWDSync(WDPBPtr paramBlock) TWOWORDINLINE(0x7002, 0xA260); ! 1729: ! 1730: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1731: #pragma parameter __D0 PBCloseWDAsync(__A0) ! 1732: #endif ! 1733: EXTERN_API( OSErr ) PBCloseWDAsync(WDPBPtr paramBlock) TWOWORDINLINE(0x7002, 0xA660); ! 1734: ! 1735: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1736: #pragma parameter __D0 PBHSetVolSync(__A0) ! 1737: #endif ! 1738: EXTERN_API( OSErr ) PBHSetVolSync(WDPBPtr paramBlock) ONEWORDINLINE(0xA215); ! 1739: ! 1740: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1741: #pragma parameter __D0 PBHSetVolAsync(__A0) ! 1742: #endif ! 1743: EXTERN_API( OSErr ) PBHSetVolAsync(WDPBPtr paramBlock) ONEWORDINLINE(0xA615); ! 1744: ! 1745: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1746: #pragma parameter __D0 PBHGetVolSync(__A0) ! 1747: #endif ! 1748: EXTERN_API( OSErr ) PBHGetVolSync(WDPBPtr paramBlock) ONEWORDINLINE(0xA214); ! 1749: ! 1750: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1751: #pragma parameter __D0 PBHGetVolAsync(__A0) ! 1752: #endif ! 1753: EXTERN_API( OSErr ) PBHGetVolAsync(WDPBPtr paramBlock) ONEWORDINLINE(0xA614); ! 1754: ! 1755: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1756: #pragma parameter __D0 PBCatMoveSync(__A0) ! 1757: #endif ! 1758: EXTERN_API( OSErr ) PBCatMoveSync(CMovePBPtr paramBlock) TWOWORDINLINE(0x7005, 0xA260); ! 1759: ! 1760: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1761: #pragma parameter __D0 PBCatMoveAsync(__A0) ! 1762: #endif ! 1763: EXTERN_API( OSErr ) PBCatMoveAsync(CMovePBPtr paramBlock) TWOWORDINLINE(0x7005, 0xA660); ! 1764: ! 1765: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1766: #pragma parameter __D0 PBDirCreateSync(__A0) ! 1767: #endif ! 1768: EXTERN_API( OSErr ) PBDirCreateSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7006, 0xA260); ! 1769: ! 1770: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1771: #pragma parameter __D0 PBDirCreateAsync(__A0) ! 1772: #endif ! 1773: EXTERN_API( OSErr ) PBDirCreateAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7006, 0xA660); ! 1774: ! 1775: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1776: #pragma parameter __D0 PBGetWDInfoSync(__A0) ! 1777: #endif ! 1778: EXTERN_API( OSErr ) PBGetWDInfoSync(WDPBPtr paramBlock) TWOWORDINLINE(0x7007, 0xA260); ! 1779: ! 1780: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1781: #pragma parameter __D0 PBGetWDInfoAsync(__A0) ! 1782: #endif ! 1783: EXTERN_API( OSErr ) PBGetWDInfoAsync(WDPBPtr paramBlock) TWOWORDINLINE(0x7007, 0xA660); ! 1784: ! 1785: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1786: #pragma parameter __D0 PBGetFCBInfoSync(__A0) ! 1787: #endif ! 1788: EXTERN_API( OSErr ) PBGetFCBInfoSync(FCBPBPtr paramBlock) TWOWORDINLINE(0x7008, 0xA260); ! 1789: ! 1790: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1791: #pragma parameter __D0 PBGetFCBInfoAsync(__A0) ! 1792: #endif ! 1793: EXTERN_API( OSErr ) PBGetFCBInfoAsync(FCBPBPtr paramBlock) TWOWORDINLINE(0x7008, 0xA660); ! 1794: ! 1795: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1796: #pragma parameter __D0 PBGetCatInfoSync(__A0) ! 1797: #endif ! 1798: EXTERN_API( OSErr ) PBGetCatInfoSync(CInfoPBPtr paramBlock) TWOWORDINLINE(0x7009, 0xA260); ! 1799: ! 1800: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1801: #pragma parameter __D0 PBGetCatInfoAsync(__A0) ! 1802: #endif ! 1803: EXTERN_API( OSErr ) PBGetCatInfoAsync(CInfoPBPtr paramBlock) TWOWORDINLINE(0x7009, 0xA660); ! 1804: ! 1805: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1806: #pragma parameter __D0 PBSetCatInfoSync(__A0) ! 1807: #endif ! 1808: EXTERN_API( OSErr ) PBSetCatInfoSync(CInfoPBPtr paramBlock) TWOWORDINLINE(0x700A, 0xA260); ! 1809: ! 1810: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1811: #pragma parameter __D0 PBSetCatInfoAsync(__A0) ! 1812: #endif ! 1813: EXTERN_API( OSErr ) PBSetCatInfoAsync(CInfoPBPtr paramBlock) TWOWORDINLINE(0x700A, 0xA660); ! 1814: ! 1815: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1816: #pragma parameter __D0 PBAllocContigSync(__A0) ! 1817: #endif ! 1818: EXTERN_API( OSErr ) PBAllocContigSync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA210); ! 1819: ! 1820: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1821: #pragma parameter __D0 PBAllocContigAsync(__A0) ! 1822: #endif ! 1823: EXTERN_API( OSErr ) PBAllocContigAsync(ParmBlkPtr paramBlock) ONEWORDINLINE(0xA610); ! 1824: ! 1825: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1826: #pragma parameter __D0 PBLockRangeSync(__A0) ! 1827: #endif ! 1828: EXTERN_API( OSErr ) PBLockRangeSync(ParmBlkPtr paramBlock) TWOWORDINLINE(0x7010, 0xA260); ! 1829: ! 1830: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1831: #pragma parameter __D0 PBLockRangeAsync(__A0) ! 1832: #endif ! 1833: EXTERN_API( OSErr ) PBLockRangeAsync(ParmBlkPtr paramBlock) TWOWORDINLINE(0x7010, 0xA660); ! 1834: ! 1835: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1836: #pragma parameter __D0 PBUnlockRangeSync(__A0) ! 1837: #endif ! 1838: EXTERN_API( OSErr ) PBUnlockRangeSync(ParmBlkPtr paramBlock) TWOWORDINLINE(0x7011, 0xA260); ! 1839: ! 1840: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1841: #pragma parameter __D0 PBUnlockRangeAsync(__A0) ! 1842: #endif ! 1843: EXTERN_API( OSErr ) PBUnlockRangeAsync(ParmBlkPtr paramBlock) TWOWORDINLINE(0x7011, 0xA660); ! 1844: ! 1845: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1846: #pragma parameter __D0 PBSetVInfoSync(__A0) ! 1847: #endif ! 1848: EXTERN_API( OSErr ) PBSetVInfoSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x700B, 0xA260); ! 1849: ! 1850: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1851: #pragma parameter __D0 PBSetVInfoAsync(__A0) ! 1852: #endif ! 1853: EXTERN_API( OSErr ) PBSetVInfoAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x700B, 0xA660); ! 1854: ! 1855: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1856: #pragma parameter __D0 PBHGetVInfoSync(__A0) ! 1857: #endif ! 1858: EXTERN_API( OSErr ) PBHGetVInfoSync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA207); ! 1859: ! 1860: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1861: #pragma parameter __D0 PBHGetVInfoAsync(__A0) ! 1862: #endif ! 1863: EXTERN_API( OSErr ) PBHGetVInfoAsync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA607); ! 1864: ! 1865: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1866: #pragma parameter __D0 PBHOpenSync(__A0) ! 1867: #endif ! 1868: EXTERN_API( OSErr ) PBHOpenSync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA200); ! 1869: ! 1870: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1871: #pragma parameter __D0 PBHOpenAsync(__A0) ! 1872: #endif ! 1873: EXTERN_API( OSErr ) PBHOpenAsync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA600); ! 1874: ! 1875: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1876: #pragma parameter __D0 PBHOpenRFSync(__A0) ! 1877: #endif ! 1878: EXTERN_API( OSErr ) PBHOpenRFSync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA20A); ! 1879: ! 1880: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1881: #pragma parameter __D0 PBHOpenRFAsync(__A0) ! 1882: #endif ! 1883: EXTERN_API( OSErr ) PBHOpenRFAsync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA60A); ! 1884: ! 1885: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1886: #pragma parameter __D0 PBHOpenDFSync(__A0) ! 1887: #endif ! 1888: EXTERN_API( OSErr ) PBHOpenDFSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x701A, 0xA260); ! 1889: ! 1890: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1891: #pragma parameter __D0 PBHOpenDFAsync(__A0) ! 1892: #endif ! 1893: EXTERN_API( OSErr ) PBHOpenDFAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x701A, 0xA660); ! 1894: ! 1895: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1896: #pragma parameter __D0 PBHCreateSync(__A0) ! 1897: #endif ! 1898: EXTERN_API( OSErr ) PBHCreateSync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA208); ! 1899: ! 1900: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1901: #pragma parameter __D0 PBHCreateAsync(__A0) ! 1902: #endif ! 1903: EXTERN_API( OSErr ) PBHCreateAsync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA608); ! 1904: ! 1905: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1906: #pragma parameter __D0 PBHDeleteSync(__A0) ! 1907: #endif ! 1908: EXTERN_API( OSErr ) PBHDeleteSync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA209); ! 1909: ! 1910: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1911: #pragma parameter __D0 PBHDeleteAsync(__A0) ! 1912: #endif ! 1913: EXTERN_API( OSErr ) PBHDeleteAsync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA609); ! 1914: ! 1915: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1916: #pragma parameter __D0 PBHRenameSync(__A0) ! 1917: #endif ! 1918: EXTERN_API( OSErr ) PBHRenameSync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA20B); ! 1919: ! 1920: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1921: #pragma parameter __D0 PBHRenameAsync(__A0) ! 1922: #endif ! 1923: EXTERN_API( OSErr ) PBHRenameAsync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA60B); ! 1924: ! 1925: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1926: #pragma parameter __D0 PBHRstFLockSync(__A0) ! 1927: #endif ! 1928: EXTERN_API( OSErr ) PBHRstFLockSync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA242); ! 1929: ! 1930: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1931: #pragma parameter __D0 PBHRstFLockAsync(__A0) ! 1932: #endif ! 1933: EXTERN_API( OSErr ) PBHRstFLockAsync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA642); ! 1934: ! 1935: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1936: #pragma parameter __D0 PBHSetFLockSync(__A0) ! 1937: #endif ! 1938: EXTERN_API( OSErr ) PBHSetFLockSync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA241); ! 1939: ! 1940: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1941: #pragma parameter __D0 PBHSetFLockAsync(__A0) ! 1942: #endif ! 1943: EXTERN_API( OSErr ) PBHSetFLockAsync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA641); ! 1944: ! 1945: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1946: #pragma parameter __D0 PBHGetFInfoSync(__A0) ! 1947: #endif ! 1948: EXTERN_API( OSErr ) PBHGetFInfoSync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA20C); ! 1949: ! 1950: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1951: #pragma parameter __D0 PBHGetFInfoAsync(__A0) ! 1952: #endif ! 1953: EXTERN_API( OSErr ) PBHGetFInfoAsync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA60C); ! 1954: ! 1955: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1956: #pragma parameter __D0 PBHSetFInfoSync(__A0) ! 1957: #endif ! 1958: EXTERN_API( OSErr ) PBHSetFInfoSync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA20D); ! 1959: ! 1960: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1961: #pragma parameter __D0 PBHSetFInfoAsync(__A0) ! 1962: #endif ! 1963: EXTERN_API( OSErr ) PBHSetFInfoAsync(HParmBlkPtr paramBlock) ONEWORDINLINE(0xA60D); ! 1964: ! 1965: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1966: #pragma parameter __D0 PBMakeFSSpecSync(__A0) ! 1967: #endif ! 1968: EXTERN_API( OSErr ) PBMakeFSSpecSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x701B, 0xA260); ! 1969: ! 1970: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 1971: #pragma parameter __D0 PBMakeFSSpecAsync(__A0) ! 1972: #endif ! 1973: EXTERN_API( OSErr ) PBMakeFSSpecAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x701B, 0xA660); ! 1974: ! 1975: EXTERN_API( void ) FInitQueue(void ) ONEWORDINLINE(0xA016); ! 1976: ! 1977: ! 1978: EXTERN_API( QHdrPtr ) ! 1979: GetFSQHdr (void) THREEWORDINLINE(0x2EBC, 0x0000, 0x0360); ! 1980: ! 1981: EXTERN_API( QHdrPtr ) ! 1982: GetVCBQHdr (void) THREEWORDINLINE(0x2EBC, 0x0000, 0x0356); ! 1983: ! 1984: #if OLDROUTINELOCATIONS ! 1985: EXTERN_API( QHdrPtr ) ! 1986: GetDrvQHdr (void) THREEWORDINLINE(0x2EBC, 0x0000, 0x0308); ! 1987: ! 1988: #endif /* OLDROUTINELOCATIONS */ ! 1989: ! 1990: EXTERN_API( OSErr ) ! 1991: HGetVol (StringPtr volName, ! 1992: short * vRefNum, ! 1993: long * dirID); ! 1994: ! 1995: EXTERN_API( OSErr ) ! 1996: HOpen (short vRefNum, ! 1997: long dirID, ! 1998: ConstStr255Param fileName, ! 1999: SInt8 permission, ! 2000: short * refNum); ! 2001: ! 2002: EXTERN_API( OSErr ) ! 2003: HOpenDF (short vRefNum, ! 2004: long dirID, ! 2005: ConstStr255Param fileName, ! 2006: SInt8 permission, ! 2007: short * refNum); ! 2008: ! 2009: EXTERN_API( OSErr ) ! 2010: HOpenRF (short vRefNum, ! 2011: long dirID, ! 2012: ConstStr255Param fileName, ! 2013: SInt8 permission, ! 2014: short * refNum); ! 2015: ! 2016: EXTERN_API( OSErr ) ! 2017: AllocContig (short refNum, ! 2018: long * count); ! 2019: ! 2020: EXTERN_API( OSErr ) ! 2021: HCreate (short vRefNum, ! 2022: long dirID, ! 2023: ConstStr255Param fileName, ! 2024: OSType creator, ! 2025: OSType fileType); ! 2026: ! 2027: EXTERN_API( OSErr ) ! 2028: DirCreate (short vRefNum, ! 2029: long parentDirID, ! 2030: ConstStr255Param directoryName, ! 2031: long * createdDirID); ! 2032: ! 2033: EXTERN_API( OSErr ) ! 2034: HDelete (short vRefNum, ! 2035: long dirID, ! 2036: ConstStr255Param fileName); ! 2037: ! 2038: EXTERN_API( OSErr ) ! 2039: HGetFInfo (short vRefNum, ! 2040: long dirID, ! 2041: ConstStr255Param fileName, ! 2042: FInfo * fndrInfo); ! 2043: ! 2044: EXTERN_API( OSErr ) ! 2045: HSetFInfo (short vRefNum, ! 2046: long dirID, ! 2047: ConstStr255Param fileName, ! 2048: const FInfo * fndrInfo); ! 2049: ! 2050: EXTERN_API( OSErr ) ! 2051: HSetFLock (short vRefNum, ! 2052: long dirID, ! 2053: ConstStr255Param fileName); ! 2054: ! 2055: EXTERN_API( OSErr ) ! 2056: HRstFLock (short vRefNum, ! 2057: long dirID, ! 2058: ConstStr255Param fileName); ! 2059: ! 2060: EXTERN_API( OSErr ) ! 2061: HRename (short vRefNum, ! 2062: long dirID, ! 2063: ConstStr255Param oldName, ! 2064: ConstStr255Param newName); ! 2065: ! 2066: EXTERN_API( OSErr ) ! 2067: CatMove (short vRefNum, ! 2068: long dirID, ! 2069: ConstStr255Param oldName, ! 2070: long newDirID, ! 2071: ConstStr255Param newName); ! 2072: ! 2073: EXTERN_API( OSErr ) ! 2074: OpenWD (short vRefNum, ! 2075: long dirID, ! 2076: long procID, ! 2077: short * wdRefNum); ! 2078: ! 2079: EXTERN_API( OSErr ) ! 2080: CloseWD (short wdRefNum); ! 2081: ! 2082: EXTERN_API( OSErr ) ! 2083: GetWDInfo (short wdRefNum, ! 2084: short * vRefNum, ! 2085: long * dirID, ! 2086: long * procID); ! 2087: ! 2088: /* shared environment */ ! 2089: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2090: #pragma parameter __D0 PBHGetVolParmsSync(__A0) ! 2091: #endif ! 2092: EXTERN_API( OSErr ) PBHGetVolParmsSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7030, 0xA260); ! 2093: ! 2094: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2095: #pragma parameter __D0 PBHGetVolParmsAsync(__A0) ! 2096: #endif ! 2097: EXTERN_API( OSErr ) PBHGetVolParmsAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7030, 0xA660); ! 2098: ! 2099: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2100: #pragma parameter __D0 PBHGetLogInInfoSync(__A0) ! 2101: #endif ! 2102: EXTERN_API( OSErr ) PBHGetLogInInfoSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7031, 0xA260); ! 2103: ! 2104: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2105: #pragma parameter __D0 PBHGetLogInInfoAsync(__A0) ! 2106: #endif ! 2107: EXTERN_API( OSErr ) PBHGetLogInInfoAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7031, 0xA660); ! 2108: ! 2109: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2110: #pragma parameter __D0 PBHGetDirAccessSync(__A0) ! 2111: #endif ! 2112: EXTERN_API( OSErr ) PBHGetDirAccessSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7032, 0xA260); ! 2113: ! 2114: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2115: #pragma parameter __D0 PBHGetDirAccessAsync(__A0) ! 2116: #endif ! 2117: EXTERN_API( OSErr ) PBHGetDirAccessAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7032, 0xA660); ! 2118: ! 2119: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2120: #pragma parameter __D0 PBHSetDirAccessSync(__A0) ! 2121: #endif ! 2122: EXTERN_API( OSErr ) PBHSetDirAccessSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7033, 0xA260); ! 2123: ! 2124: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2125: #pragma parameter __D0 PBHSetDirAccessAsync(__A0) ! 2126: #endif ! 2127: EXTERN_API( OSErr ) PBHSetDirAccessAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7033, 0xA660); ! 2128: ! 2129: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2130: #pragma parameter __D0 PBHMapIDSync(__A0) ! 2131: #endif ! 2132: EXTERN_API( OSErr ) PBHMapIDSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7034, 0xA260); ! 2133: ! 2134: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2135: #pragma parameter __D0 PBHMapIDAsync(__A0) ! 2136: #endif ! 2137: EXTERN_API( OSErr ) PBHMapIDAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7034, 0xA660); ! 2138: ! 2139: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2140: #pragma parameter __D0 PBHMapNameSync(__A0) ! 2141: #endif ! 2142: EXTERN_API( OSErr ) PBHMapNameSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7035, 0xA260); ! 2143: ! 2144: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2145: #pragma parameter __D0 PBHMapNameAsync(__A0) ! 2146: #endif ! 2147: EXTERN_API( OSErr ) PBHMapNameAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7035, 0xA660); ! 2148: ! 2149: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2150: #pragma parameter __D0 PBHCopyFileSync(__A0) ! 2151: #endif ! 2152: EXTERN_API( OSErr ) PBHCopyFileSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7036, 0xA260); ! 2153: ! 2154: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2155: #pragma parameter __D0 PBHCopyFileAsync(__A0) ! 2156: #endif ! 2157: EXTERN_API( OSErr ) PBHCopyFileAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7036, 0xA660); ! 2158: ! 2159: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2160: #pragma parameter __D0 PBHMoveRenameSync(__A0) ! 2161: #endif ! 2162: EXTERN_API( OSErr ) PBHMoveRenameSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7037, 0xA260); ! 2163: ! 2164: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2165: #pragma parameter __D0 PBHMoveRenameAsync(__A0) ! 2166: #endif ! 2167: EXTERN_API( OSErr ) PBHMoveRenameAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7037, 0xA660); ! 2168: ! 2169: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2170: #pragma parameter __D0 PBHOpenDenySync(__A0) ! 2171: #endif ! 2172: EXTERN_API( OSErr ) PBHOpenDenySync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7038, 0xA260); ! 2173: ! 2174: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2175: #pragma parameter __D0 PBHOpenDenyAsync(__A0) ! 2176: #endif ! 2177: EXTERN_API( OSErr ) PBHOpenDenyAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7038, 0xA660); ! 2178: ! 2179: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2180: #pragma parameter __D0 PBHOpenRFDenySync(__A0) ! 2181: #endif ! 2182: EXTERN_API( OSErr ) PBHOpenRFDenySync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7039, 0xA260); ! 2183: ! 2184: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2185: #pragma parameter __D0 PBHOpenRFDenyAsync(__A0) ! 2186: #endif ! 2187: EXTERN_API( OSErr ) PBHOpenRFDenyAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7039, 0xA660); ! 2188: ! 2189: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2190: #pragma parameter __D0 PBGetXCatInfoSync(__A0) ! 2191: #endif ! 2192: EXTERN_API( OSErr ) PBGetXCatInfoSync(XCInfoPBPtr paramBlock) TWOWORDINLINE(0x703A, 0xA260); ! 2193: ! 2194: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2195: #pragma parameter __D0 PBGetXCatInfoAsync(__A0) ! 2196: #endif ! 2197: EXTERN_API( OSErr ) PBGetXCatInfoAsync(XCInfoPBPtr paramBlock) TWOWORDINLINE(0x703A, 0xA660); ! 2198: ! 2199: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2200: #pragma parameter __D0 PBExchangeFilesSync(__A0) ! 2201: #endif ! 2202: EXTERN_API( OSErr ) PBExchangeFilesSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7017, 0xA260); ! 2203: ! 2204: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2205: #pragma parameter __D0 PBExchangeFilesAsync(__A0) ! 2206: #endif ! 2207: EXTERN_API( OSErr ) PBExchangeFilesAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7017, 0xA660); ! 2208: ! 2209: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2210: #pragma parameter __D0 PBCreateFileIDRefSync(__A0) ! 2211: #endif ! 2212: EXTERN_API( OSErr ) PBCreateFileIDRefSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7014, 0xA260); ! 2213: ! 2214: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2215: #pragma parameter __D0 PBCreateFileIDRefAsync(__A0) ! 2216: #endif ! 2217: EXTERN_API( OSErr ) PBCreateFileIDRefAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7014, 0xA660); ! 2218: ! 2219: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2220: #pragma parameter __D0 PBResolveFileIDRefSync(__A0) ! 2221: #endif ! 2222: EXTERN_API( OSErr ) PBResolveFileIDRefSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7016, 0xA260); ! 2223: ! 2224: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2225: #pragma parameter __D0 PBResolveFileIDRefAsync(__A0) ! 2226: #endif ! 2227: EXTERN_API( OSErr ) PBResolveFileIDRefAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7016, 0xA660); ! 2228: ! 2229: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2230: #pragma parameter __D0 PBDeleteFileIDRefSync(__A0) ! 2231: #endif ! 2232: EXTERN_API( OSErr ) PBDeleteFileIDRefSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7015, 0xA260); ! 2233: ! 2234: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2235: #pragma parameter __D0 PBDeleteFileIDRefAsync(__A0) ! 2236: #endif ! 2237: EXTERN_API( OSErr ) PBDeleteFileIDRefAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7015, 0xA660); ! 2238: ! 2239: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2240: #pragma parameter __D0 PBGetForeignPrivsSync(__A0) ! 2241: #endif ! 2242: EXTERN_API( OSErr ) PBGetForeignPrivsSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7060, 0xA260); ! 2243: ! 2244: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2245: #pragma parameter __D0 PBGetForeignPrivsAsync(__A0) ! 2246: #endif ! 2247: EXTERN_API( OSErr ) PBGetForeignPrivsAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7060, 0xA660); ! 2248: ! 2249: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2250: #pragma parameter __D0 PBSetForeignPrivsSync(__A0) ! 2251: #endif ! 2252: EXTERN_API( OSErr ) PBSetForeignPrivsSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7061, 0xA260); ! 2253: ! 2254: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2255: #pragma parameter __D0 PBSetForeignPrivsAsync(__A0) ! 2256: #endif ! 2257: EXTERN_API( OSErr ) PBSetForeignPrivsAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7061, 0xA660); ! 2258: ! 2259: /* Desktop Manager */ ! 2260: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2261: #pragma parameter __D0 PBDTGetPath(__A0) ! 2262: #endif ! 2263: EXTERN_API( OSErr ) PBDTGetPath(DTPBPtr paramBlock) TWOWORDINLINE(0x7020, 0xA260); ! 2264: ! 2265: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2266: #pragma parameter __D0 PBDTCloseDown(__A0) ! 2267: #endif ! 2268: EXTERN_API( OSErr ) PBDTCloseDown(DTPBPtr paramBlock) TWOWORDINLINE(0x7021, 0xA260); ! 2269: ! 2270: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2271: #pragma parameter __D0 PBDTAddIconSync(__A0) ! 2272: #endif ! 2273: EXTERN_API( OSErr ) PBDTAddIconSync(DTPBPtr paramBlock) TWOWORDINLINE(0x7022, 0xA260); ! 2274: ! 2275: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2276: #pragma parameter __D0 PBDTAddIconAsync(__A0) ! 2277: #endif ! 2278: EXTERN_API( OSErr ) PBDTAddIconAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x7022, 0xA660); ! 2279: ! 2280: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2281: #pragma parameter __D0 PBDTGetIconSync(__A0) ! 2282: #endif ! 2283: EXTERN_API( OSErr ) PBDTGetIconSync(DTPBPtr paramBlock) TWOWORDINLINE(0x7023, 0xA260); ! 2284: ! 2285: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2286: #pragma parameter __D0 PBDTGetIconAsync(__A0) ! 2287: #endif ! 2288: EXTERN_API( OSErr ) PBDTGetIconAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x7023, 0xA660); ! 2289: ! 2290: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2291: #pragma parameter __D0 PBDTGetIconInfoSync(__A0) ! 2292: #endif ! 2293: EXTERN_API( OSErr ) PBDTGetIconInfoSync(DTPBPtr paramBlock) TWOWORDINLINE(0x7024, 0xA260); ! 2294: ! 2295: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2296: #pragma parameter __D0 PBDTGetIconInfoAsync(__A0) ! 2297: #endif ! 2298: EXTERN_API( OSErr ) PBDTGetIconInfoAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x7024, 0xA660); ! 2299: ! 2300: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2301: #pragma parameter __D0 PBDTAddAPPLSync(__A0) ! 2302: #endif ! 2303: EXTERN_API( OSErr ) PBDTAddAPPLSync(DTPBPtr paramBlock) TWOWORDINLINE(0x7025, 0xA260); ! 2304: ! 2305: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2306: #pragma parameter __D0 PBDTAddAPPLAsync(__A0) ! 2307: #endif ! 2308: EXTERN_API( OSErr ) PBDTAddAPPLAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x7025, 0xA660); ! 2309: ! 2310: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2311: #pragma parameter __D0 PBDTRemoveAPPLSync(__A0) ! 2312: #endif ! 2313: EXTERN_API( OSErr ) PBDTRemoveAPPLSync(DTPBPtr paramBlock) TWOWORDINLINE(0x7026, 0xA260); ! 2314: ! 2315: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2316: #pragma parameter __D0 PBDTRemoveAPPLAsync(__A0) ! 2317: #endif ! 2318: EXTERN_API( OSErr ) PBDTRemoveAPPLAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x7026, 0xA660); ! 2319: ! 2320: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2321: #pragma parameter __D0 PBDTGetAPPLSync(__A0) ! 2322: #endif ! 2323: EXTERN_API( OSErr ) PBDTGetAPPLSync(DTPBPtr paramBlock) TWOWORDINLINE(0x7027, 0xA260); ! 2324: ! 2325: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2326: #pragma parameter __D0 PBDTGetAPPLAsync(__A0) ! 2327: #endif ! 2328: EXTERN_API( OSErr ) PBDTGetAPPLAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x7027, 0xA660); ! 2329: ! 2330: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2331: #pragma parameter __D0 PBDTSetCommentSync(__A0) ! 2332: #endif ! 2333: EXTERN_API( OSErr ) PBDTSetCommentSync(DTPBPtr paramBlock) TWOWORDINLINE(0x7028, 0xA260); ! 2334: ! 2335: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2336: #pragma parameter __D0 PBDTSetCommentAsync(__A0) ! 2337: #endif ! 2338: EXTERN_API( OSErr ) PBDTSetCommentAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x7028, 0xA660); ! 2339: ! 2340: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2341: #pragma parameter __D0 PBDTRemoveCommentSync(__A0) ! 2342: #endif ! 2343: EXTERN_API( OSErr ) PBDTRemoveCommentSync(DTPBPtr paramBlock) TWOWORDINLINE(0x7029, 0xA260); ! 2344: ! 2345: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2346: #pragma parameter __D0 PBDTRemoveCommentAsync(__A0) ! 2347: #endif ! 2348: EXTERN_API( OSErr ) PBDTRemoveCommentAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x7029, 0xA660); ! 2349: ! 2350: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2351: #pragma parameter __D0 PBDTGetCommentSync(__A0) ! 2352: #endif ! 2353: EXTERN_API( OSErr ) PBDTGetCommentSync(DTPBPtr paramBlock) TWOWORDINLINE(0x702A, 0xA260); ! 2354: ! 2355: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2356: #pragma parameter __D0 PBDTGetCommentAsync(__A0) ! 2357: #endif ! 2358: EXTERN_API( OSErr ) PBDTGetCommentAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x702A, 0xA660); ! 2359: ! 2360: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2361: #pragma parameter __D0 PBDTFlushSync(__A0) ! 2362: #endif ! 2363: EXTERN_API( OSErr ) PBDTFlushSync(DTPBPtr paramBlock) TWOWORDINLINE(0x702B, 0xA260); ! 2364: ! 2365: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2366: #pragma parameter __D0 PBDTFlushAsync(__A0) ! 2367: #endif ! 2368: EXTERN_API( OSErr ) PBDTFlushAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x702B, 0xA660); ! 2369: ! 2370: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2371: #pragma parameter __D0 PBDTResetSync(__A0) ! 2372: #endif ! 2373: EXTERN_API( OSErr ) PBDTResetSync(DTPBPtr paramBlock) TWOWORDINLINE(0x702C, 0xA260); ! 2374: ! 2375: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2376: #pragma parameter __D0 PBDTResetAsync(__A0) ! 2377: #endif ! 2378: EXTERN_API( OSErr ) PBDTResetAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x702C, 0xA660); ! 2379: ! 2380: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2381: #pragma parameter __D0 PBDTGetInfoSync(__A0) ! 2382: #endif ! 2383: EXTERN_API( OSErr ) PBDTGetInfoSync(DTPBPtr paramBlock) TWOWORDINLINE(0x702D, 0xA260); ! 2384: ! 2385: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2386: #pragma parameter __D0 PBDTGetInfoAsync(__A0) ! 2387: #endif ! 2388: EXTERN_API( OSErr ) PBDTGetInfoAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x702D, 0xA660); ! 2389: ! 2390: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2391: #pragma parameter __D0 PBDTOpenInform(__A0) ! 2392: #endif ! 2393: EXTERN_API( OSErr ) PBDTOpenInform(DTPBPtr paramBlock) TWOWORDINLINE(0x702E, 0xA060); ! 2394: ! 2395: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2396: #pragma parameter __D0 PBDTDeleteSync(__A0) ! 2397: #endif ! 2398: EXTERN_API( OSErr ) PBDTDeleteSync(DTPBPtr paramBlock) TWOWORDINLINE(0x702F, 0xA060); ! 2399: ! 2400: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2401: #pragma parameter __D0 PBDTDeleteAsync(__A0) ! 2402: #endif ! 2403: EXTERN_API( OSErr ) PBDTDeleteAsync(DTPBPtr paramBlock) TWOWORDINLINE(0x702F, 0xA460); ! 2404: ! 2405: /* VolumeMount traps */ ! 2406: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2407: #pragma parameter __D0 PBGetVolMountInfoSize(__A0) ! 2408: #endif ! 2409: EXTERN_API( OSErr ) PBGetVolMountInfoSize(ParmBlkPtr paramBlock) TWOWORDINLINE(0x703F, 0xA260); ! 2410: ! 2411: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2412: #pragma parameter __D0 PBGetVolMountInfo(__A0) ! 2413: #endif ! 2414: EXTERN_API( OSErr ) PBGetVolMountInfo(ParmBlkPtr paramBlock) TWOWORDINLINE(0x7040, 0xA260); ! 2415: ! 2416: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2417: #pragma parameter __D0 PBVolumeMount(__A0) ! 2418: #endif ! 2419: EXTERN_API( OSErr ) PBVolumeMount(ParmBlkPtr paramBlock) TWOWORDINLINE(0x7041, 0xA260); ! 2420: ! 2421: /* FSp traps */ ! 2422: EXTERN_API( OSErr ) ! 2423: FSMakeFSSpec (short vRefNum, ! 2424: long dirID, ! 2425: ConstStr255Param fileName, ! 2426: FSSpec * spec) TWOWORDINLINE(0x7001, 0xAA52); ! 2427: ! 2428: EXTERN_API( OSErr ) ! 2429: FSpOpenDF (const FSSpec * spec, ! 2430: SInt8 permission, ! 2431: short * refNum) TWOWORDINLINE(0x7002, 0xAA52); ! 2432: ! 2433: EXTERN_API( OSErr ) ! 2434: FSpOpenRF (const FSSpec * spec, ! 2435: SInt8 permission, ! 2436: short * refNum) TWOWORDINLINE(0x7003, 0xAA52); ! 2437: ! 2438: EXTERN_API( OSErr ) ! 2439: FSpCreate (const FSSpec * spec, ! 2440: OSType creator, ! 2441: OSType fileType, ! 2442: ScriptCode scriptTag) TWOWORDINLINE(0x7004, 0xAA52); ! 2443: ! 2444: EXTERN_API( OSErr ) ! 2445: FSpDirCreate (const FSSpec * spec, ! 2446: ScriptCode scriptTag, ! 2447: long * createdDirID) TWOWORDINLINE(0x7005, 0xAA52); ! 2448: ! 2449: EXTERN_API( OSErr ) ! 2450: FSpDelete (const FSSpec * spec) TWOWORDINLINE(0x7006, 0xAA52); ! 2451: ! 2452: EXTERN_API( OSErr ) ! 2453: FSpGetFInfo (const FSSpec * spec, ! 2454: FInfo * fndrInfo) TWOWORDINLINE(0x7007, 0xAA52); ! 2455: ! 2456: EXTERN_API( OSErr ) ! 2457: FSpSetFInfo (const FSSpec * spec, ! 2458: const FInfo * fndrInfo) TWOWORDINLINE(0x7008, 0xAA52); ! 2459: ! 2460: EXTERN_API( OSErr ) ! 2461: FSpSetFLock (const FSSpec * spec) TWOWORDINLINE(0x7009, 0xAA52); ! 2462: ! 2463: EXTERN_API( OSErr ) ! 2464: FSpRstFLock (const FSSpec * spec) TWOWORDINLINE(0x700A, 0xAA52); ! 2465: ! 2466: EXTERN_API( OSErr ) ! 2467: FSpRename (const FSSpec * spec, ! 2468: ConstStr255Param newName) TWOWORDINLINE(0x700B, 0xAA52); ! 2469: ! 2470: EXTERN_API( OSErr ) ! 2471: FSpCatMove (const FSSpec * source, ! 2472: const FSSpec * dest) TWOWORDINLINE(0x700C, 0xAA52); ! 2473: ! 2474: EXTERN_API( OSErr ) ! 2475: FSpExchangeFiles (const FSSpec * source, ! 2476: const FSSpec * dest) TWOWORDINLINE(0x700F, 0xAA52); ! 2477: ! 2478: ! 2479: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2480: #pragma parameter __D0 PBShareSync(__A0) ! 2481: #endif ! 2482: EXTERN_API( OSErr ) PBShareSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7042, 0xA260); ! 2483: ! 2484: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2485: #pragma parameter __D0 PBShareAsync(__A0) ! 2486: #endif ! 2487: EXTERN_API( OSErr ) PBShareAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7042, 0xA660); ! 2488: ! 2489: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2490: #pragma parameter __D0 PBUnshareSync(__A0) ! 2491: #endif ! 2492: EXTERN_API( OSErr ) PBUnshareSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7043, 0xA260); ! 2493: ! 2494: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2495: #pragma parameter __D0 PBUnshareAsync(__A0) ! 2496: #endif ! 2497: EXTERN_API( OSErr ) PBUnshareAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7043, 0xA660); ! 2498: ! 2499: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2500: #pragma parameter __D0 PBGetUGEntrySync(__A0) ! 2501: #endif ! 2502: EXTERN_API( OSErr ) PBGetUGEntrySync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7044, 0xA260); ! 2503: ! 2504: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2505: #pragma parameter __D0 PBGetUGEntryAsync(__A0) ! 2506: #endif ! 2507: EXTERN_API( OSErr ) PBGetUGEntryAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7044, 0xA660); ! 2508: ! 2509: ! 2510: ! 2511: ! 2512: #if TARGET_CPU_68K ! 2513: /* ! 2514: PBGetAltAccess and PBSetAltAccess are obsolete and will not be supported ! 2515: on PowerPC. Equivalent functionality is provided by the routines ! 2516: PBGetForeignPrivs and PBSetForeignPrivs. ! 2517: */ ! 2518: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2519: #pragma parameter __D0 PBGetAltAccessSync(__A0) ! 2520: #endif ! 2521: EXTERN_API( OSErr ) PBGetAltAccessSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7060, 0xA060); ! 2522: ! 2523: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2524: #pragma parameter __D0 PBGetAltAccessAsync(__A0) ! 2525: #endif ! 2526: EXTERN_API( OSErr ) PBGetAltAccessAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7060, 0xA460); ! 2527: ! 2528: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2529: #pragma parameter __D0 PBSetAltAccessSync(__A0) ! 2530: #endif ! 2531: EXTERN_API( OSErr ) PBSetAltAccessSync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7061, 0xA060); ! 2532: ! 2533: #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM ! 2534: #pragma parameter __D0 PBSetAltAccessAsync(__A0) ! 2535: #endif ! 2536: EXTERN_API( OSErr ) PBSetAltAccessAsync(HParmBlkPtr paramBlock) TWOWORDINLINE(0x7061, 0xA460); ! 2537: ! 2538: #define PBSetAltAccess(pb, async) ((async) ? PBSetAltAccessAsync(pb) : PBSetAltAccessSync(pb)) ! 2539: #define PBGetAltAccess(pb, async) ((async) ? PBGetAltAccessAsync(pb) : PBGetAltAccessSync(pb)) ! 2540: #endif /* TARGET_CPU_68K */ ! 2541: ! 2542: ! 2543: /* ! 2544: The PBxxx() routines are obsolete. ! 2545: ! 2546: Use the PBxxxSync() or PBxxxAsync() version instead. ! 2547: */ ! 2548: #define PBGetVInfo(pb, async) ((async) ? PBGetVInfoAsync(pb) : PBGetVInfoSync(pb)) ! 2549: #define PBXGetVolInfo(pb, async) ((async) ? PBXGetVolInfoAsync(pb) : PBXGetVolInfoSync(pb)) ! 2550: #define PBGetVol(pb, async) ((async) ? PBGetVolAsync(pb) : PBGetVolSync(pb)) ! 2551: #define PBSetVol(pb, async) ((async) ? PBSetVolAsync(pb) : PBSetVolSync(pb)) ! 2552: #define PBFlushVol(pb, async) ((async) ? PBFlushVolAsync(pb) : PBFlushVolSync(pb)) ! 2553: #define PBCreate(pb, async) ((async) ? PBCreateAsync(pb) : PBCreateSync(pb)) ! 2554: #define PBDelete(pb, async) ((async) ? PBDeleteAsync(pb) : PBDeleteSync(pb)) ! 2555: #define PBOpenDF(pb, async) ((async) ? PBOpenDFAsync(pb) : PBOpenDFSync(pb)) ! 2556: #define PBOpenRF(pb, async) ((async) ? PBOpenRFAsync(pb) : PBOpenRFSync(pb)) ! 2557: #define PBRename(pb, async) ((async) ? PBRenameAsync(pb) : PBRenameSync(pb)) ! 2558: #define PBGetFInfo(pb, async) ((async) ? PBGetFInfoAsync(pb) : PBGetFInfoSync(pb)) ! 2559: #define PBSetFInfo(pb, async) ((async) ? PBSetFInfoAsync(pb) : PBSetFInfoSync(pb)) ! 2560: #define PBSetFLock(pb, async) ((async) ? PBSetFLockAsync(pb) : PBSetFLockSync(pb)) ! 2561: #define PBRstFLock(pb, async) ((async) ? PBRstFLockAsync(pb) : PBRstFLockSync(pb)) ! 2562: #define PBSetFVers(pb, async) ((async) ? PBSetFVersAsync(pb) : PBSetFVersSync(pb)) ! 2563: #define PBAllocate(pb, async) ((async) ? PBAllocateAsync(pb) : PBAllocateSync(pb)) ! 2564: #define PBGetEOF(pb, async) ((async) ? PBGetEOFAsync(pb) : PBGetEOFSync(pb)) ! 2565: #define PBSetEOF(pb, async) ((async) ? PBSetEOFAsync(pb) : PBSetEOFSync(pb)) ! 2566: #define PBGetFPos(pb, async) ((async) ? PBGetFPosAsync(pb) : PBGetFPosSync(pb)) ! 2567: #define PBSetFPos(pb, async) ((async) ? PBSetFPosAsync(pb) : PBSetFPosSync(pb)) ! 2568: #define PBFlushFile(pb, async) ((async) ? PBFlushFileAsync(pb) : PBFlushFileSync(pb)) ! 2569: #define PBCatSearch(pb, async) ((async) ? PBCatSearchAsync(pb) : PBCatSearchSync(pb)) ! 2570: #define PBOpenWD(pb, async) ((async) ? PBOpenWDAsync(pb) : PBOpenWDSync(pb)) ! 2571: #define PBCloseWD(pb, async) ((async) ? PBCloseWDAsync(pb) : PBCloseWDSync(pb)) ! 2572: #define PBHSetVol(pb, async) ((async) ? PBHSetVolAsync(pb) : PBHSetVolSync(pb)) ! 2573: #define PBHGetVol(pb, async) ((async) ? PBHGetVolAsync(pb) : PBHGetVolSync(pb)) ! 2574: #define PBCatMove(pb, async) ((async) ? PBCatMoveAsync(pb) : PBCatMoveSync(pb)) ! 2575: #define PBDirCreate(pb, async) ((async) ? PBDirCreateAsync(pb) : PBDirCreateSync(pb)) ! 2576: #define PBGetWDInfo(pb, async) ((async) ? PBGetWDInfoAsync(pb) : PBGetWDInfoSync(pb)) ! 2577: #define PBGetFCBInfo(pb, async) ((async) ? PBGetFCBInfoAsync(pb) : PBGetFCBInfoSync(pb)) ! 2578: #define PBGetCatInfo(pb, async) ((async) ? PBGetCatInfoAsync(pb) : PBGetCatInfoSync(pb)) ! 2579: #define PBSetCatInfo(pb, async) ((async) ? PBSetCatInfoAsync(pb) : PBSetCatInfoSync(pb)) ! 2580: #define PBAllocContig(pb, async) ((async) ? PBAllocContigAsync(pb) : PBAllocContigSync(pb)) ! 2581: #define PBLockRange(pb, async) ((async) ? PBLockRangeAsync(pb) : PBLockRangeSync(pb)) ! 2582: #define PBUnlockRange(pb, async) ((async) ? PBUnlockRangeAsync(pb) : PBUnlockRangeSync(pb)) ! 2583: #define PBSetVInfo(pb, async) ((async) ? PBSetVInfoAsync(pb) : PBSetVInfoSync(pb)) ! 2584: #define PBHGetVInfo(pb, async) ((async) ? PBHGetVInfoAsync(pb) : PBHGetVInfoSync(pb)) ! 2585: #define PBHOpen(pb, async) ((async) ? PBHOpenAsync(pb) : PBHOpenSync(pb)) ! 2586: #define PBHOpenRF(pb, async) ((async) ? PBHOpenRFAsync(pb) : PBHOpenRFSync(pb)) ! 2587: #define PBHOpenDF(pb, async) ((async) ? PBHOpenDFAsync(pb) : PBHOpenDFSync(pb)) ! 2588: #define PBHCreate(pb, async) ((async) ? PBHCreateAsync(pb) : PBHCreateSync(pb)) ! 2589: #define PBHDelete(pb, async) ((async) ? PBHDeleteAsync(pb) : PBHDeleteSync(pb)) ! 2590: #define PBHRename(pb, async) ((async) ? PBHRenameAsync(pb) : PBHRenameSync(pb)) ! 2591: #define PBHRstFLock(pb, async) ((async) ? PBHRstFLockAsync(pb) : PBHRstFLockSync(pb)) ! 2592: #define PBHSetFLock(pb, async) ((async) ? PBHSetFLockAsync(pb) : PBHSetFLockSync(pb)) ! 2593: #define PBHGetFInfo(pb, async) ((async) ? PBHGetFInfoAsync(pb) : PBHGetFInfoSync(pb)) ! 2594: #define PBHSetFInfo(pb, async) ((async) ? PBHSetFInfoAsync(pb) : PBHSetFInfoSync(pb)) ! 2595: #define PBMakeFSSpec(pb, async) ((async) ? PBMakeFSSpecAsync(pb) : PBMakeFSSpecSync(pb)) ! 2596: #define PBHGetVolParms(pb, async) ((async) ? PBHGetVolParmsAsync(pb) : PBHGetVolParmsSync(pb)) ! 2597: #define PBHGetLogInInfo(pb, async) ((async) ? PBHGetLogInInfoAsync(pb) : PBHGetLogInInfoSync(pb)) ! 2598: #define PBHGetDirAccess(pb, async) ((async) ? PBHGetDirAccessAsync(pb) : PBHGetDirAccessSync(pb)) ! 2599: #define PBHSetDirAccess(pb, async) ((async) ? PBHSetDirAccessAsync(pb) : PBHSetDirAccessSync(pb)) ! 2600: #define PBHMapID(pb, async) ((async) ? PBHMapIDAsync(pb) : PBHMapIDSync(pb)) ! 2601: #define PBHMapName(pb, async) ((async) ? PBHMapNameAsync(pb) : PBHMapNameSync(pb)) ! 2602: #define PBHCopyFile(pb, async) ((async) ? PBHCopyFileAsync(pb) : PBHCopyFileSync(pb)) ! 2603: #define PBHMoveRename(pb, async) ((async) ? PBHMoveRenameAsync(pb) : PBHMoveRenameSync(pb)) ! 2604: #define PBHOpenDeny(pb, async) ((async) ? PBHOpenDenyAsync(pb) : PBHOpenDenySync(pb)) ! 2605: #define PBHOpenRFDeny(pb, async) ((async) ? PBHOpenRFDenyAsync(pb) : PBHOpenRFDenySync(pb)) ! 2606: #define PBExchangeFiles(pb, async) ((async) ? PBExchangeFilesAsync(pb) : PBExchangeFilesSync(pb)) ! 2607: #define PBCreateFileIDRef(pb, async) ((async) ? PBCreateFileIDRefAsync(pb) : PBCreateFileIDRefSync(pb)) ! 2608: #define PBResolveFileIDRef(pb, async) ((async) ? PBResolveFileIDRefAsync(pb) : PBResolveFileIDRefSync(pb)) ! 2609: #define PBDeleteFileIDRef(pb, async) ((async) ? PBDeleteFileIDRefAsync(pb) : PBDeleteFileIDRefSync(pb)) ! 2610: #define PBGetForeignPrivs(pb, async) ((async) ? PBGetForeignPrivsAsync(pb) : PBGetForeignPrivsSync(pb)) ! 2611: #define PBSetForeignPrivs(pb, async) ((async) ? PBSetForeignPrivsAsync(pb) : PBSetForeignPrivsSync(pb)) ! 2612: #define PBDTAddIcon(pb, async) ((async) ? PBDTAddIconAsync(pb) : PBDTAddIconSync(pb)) ! 2613: #define PBDTGetIcon(pb, async) ((async) ? PBDTGetIconAsync(pb) : PBDTGetIconSync(pb)) ! 2614: #define PBDTGetIconInfo(pb, async) ((async) ? PBDTGetIconInfoAsync(pb) : PBDTGetIconInfoSync(pb)) ! 2615: #define PBDTAddAPPL(pb, async) ((async) ? PBDTAddAPPLAsync(pb) : PBDTAddAPPLSync(pb)) ! 2616: #define PBDTRemoveAPPL(pb, async) ((async) ? PBDTRemoveAPPLAsync(pb) : PBDTRemoveAPPLSync(pb)) ! 2617: #define PBDTGetAPPL(pb, async) ((async) ? PBDTGetAPPLAsync(pb) : PBDTGetAPPLSync(pb)) ! 2618: #define PBDTSetComment(pb, async) ((async) ? PBDTSetCommentAsync(pb) : PBDTSetCommentSync(pb)) ! 2619: #define PBDTRemoveComment(pb, async) ((async) ? PBDTRemoveCommentAsync(pb) : PBDTRemoveCommentSync(pb)) ! 2620: #define PBDTGetComment(pb, async) ((async) ? PBDTGetCommentAsync(pb) : PBDTGetCommentSync(pb)) ! 2621: #define PBDTFlush(pb, async) ((async) ? PBDTFlushAsync(pb) : PBDTFlushSync(pb)) ! 2622: #define PBDTReset(pb, async) ((async) ? PBDTResetAsync(pb) : PBDTResetSync(pb)) ! 2623: #define PBDTGetInfo(pb, async) ((async) ? PBDTGetInfoAsync(pb) : PBDTGetInfoSync(pb)) ! 2624: #define PBDTDelete(pb, async) ((async) ? PBDTDeleteAsync(pb) : PBDTDeleteSync(pb)) ! 2625: #if OLDROUTINELOCATIONS ! 2626: #define PBOpen(pb, async) ((async) ? PBOpenAsync(pb) : PBOpenSync(pb)) ! 2627: #define PBClose(pb, async) ((async) ? PBCloseAsync(pb) : PBCloseSync(pb)) ! 2628: #define PBRead(pb, async) ((async) ? PBReadAsync(pb) : PBReadSync(pb)) ! 2629: #define PBWrite(pb, async) ((async) ? PBWriteAsync(pb) : PBWriteSync(pb)) ! 2630: #endif /* OLDROUTINELOCATIONS */ ! 2631: ! 2632: ! 2633: #if PRAGMA_STRUCT_ALIGN ! 2634: #pragma options align=reset ! 2635: #elif PRAGMA_STRUCT_PACKPUSH ! 2636: #pragma pack(pop) ! 2637: #elif PRAGMA_STRUCT_PACK ! 2638: #pragma pack() ! 2639: #endif ! 2640: ! 2641: #ifdef PRAGMA_IMPORT_OFF ! 2642: #pragma import off ! 2643: #elif PRAGMA_IMPORT ! 2644: #pragma import reset ! 2645: #endif ! 2646: ! 2647: #ifdef __cplusplus ! 2648: } ! 2649: #endif ! 2650: ! 2651: #endif /* __FILES__ */ ! 2652:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.