1 #include <bindings.dsl.h>
2 #include <CoreServices/CoreServices.h>
4 module Bindings.CoreServices.CarbonCore.Files where
6 import Bindings.CoreServices.CarbonCore.MacTypes
8 #starttype struct HFSUniStr255
9 # field length , <UInt16>
10 # array_field unicode, <UniChar>
12 #synonym_t ConstHFSUniStr255Param, Ptr <HFSUniStr255>
14 #num kFSFileSecurityRemoveACL
35 #num kFSAllowConcurrentAsyncIOBit
36 #num kFSAllowConcurrentAsyncIOMask
37 #num kFSPleaseCacheBit
38 #num kFSPleaseCacheMask
47 #num kFSNewLineCharMask
71 #num fsSBAttributeModDate
74 #num fsSBSkipPackageContents
75 #num fsSBSkipHiddenItems
79 #num fsSBPartialNameBit
82 #num fsSBFlFndrInfoBit
90 #num fsSBFlXFndrInfoBit
98 #num fsSBDrFndrInfoBit
101 #num fsSBAttributeModDateBit
102 #num fsSBAccessDateBit
103 #num fsSBPermissionsBit
104 #num fsSBSkipPackageContentsBit
105 #num fsSBSkipHiddenItemsBit
127 #num bHasPersonalAccessPrivileges
128 #num bHasUserGroupList
132 #num bHasBlankAccessPrivileges
133 #num bSupportsAsyncRequests
134 #num bSupportsTrashVolumeCache
139 #num bSupportsHFSPlusAPIs
140 #num bSupportsFSCatalogSearch
141 #num bSupportsFSExchangeObjects
142 #num bSupports2TBFiles
143 #num bSupportsLongNames
144 #num bSupportsMultiScriptNames
145 #num bSupportsNamedForks
146 #num bSupportsSubtreeIterators
147 #num bL2PCanMapFileBlocks
148 #num bParentModDateChanges
149 #num bAncestorModDateChanges
150 #num bSupportsSymbolicLinks
152 #num bAllowCDiDataHandler
153 #num bSupportsExclusiveLocks
154 #num bSupportsJournaling
156 #num bIsOnInternalBus
157 #num bIsCaseSensitive
158 #num bIsCasePreserving
162 #num bIsOnExternalBus
163 #num bSupportsExtendedFileSecurity
165 #num kWidePosOffsetBit
166 #num kUseWidePositioning
167 #num kMaximumBlocksIn4GB
171 #num kNoUserAuthentication
173 #num kEncryptPassword
174 #num kTwoWayEncryptPassword
177 #num kadministratorUser
181 #synonym_t FSVolumeRefNum, <SInt16>
182 #integral_t FSIORefNum
184 #num kFSInvalidVolumeRefNum
186 #starttype struct FSRef
187 # array_field hidden, <UInt8>
189 #synonym_t FSRefPtr, Ptr <FSRef>
191 #opaque_t __FSFileSecurity
192 #synonym_t FSFileSecurityRef, Ptr <__FSFileSecurity>
194 #starttype struct CatPositionRec
195 # field initialize, <SInt16>
196 # array_field priv , <SInt16>
200 # starttype struct FSSpec
201 # array_field hidden, <UInt8>
204 # starttype struct FSSpec
205 # field vRefNum, <FSVolumeRefNum>
206 # field parID , <SInt32>
207 # field name , <StrFileName>
210 #synonym_t FSSpecPtr , Ptr <FSSpec>
211 #synonym_t FSSpecHandle , Ptr <FSSpecPtr>
212 #synonym_t FSSpecArrayPtr, <FSSpecPtr>
213 #synonym_t ConstFSSpecPtr, Ptr <FSSpec>
216 # synonym_t ParmBlkPtr, Ptr ()
218 # synonym_t ParmBlkPtr, Ptr <ParamBlockRec>
221 #callback IOCompletionProcPtr, <ParmBlkPtr> -> IO ()
222 #synonym_t IOCompletionUPP , <IOCompletionProcPtr>
225 # starttype struct IOParam
226 # field qLink , <QElemPtr>
227 # field qType , <SInt16>
228 # field ioTrap , <SInt16>
229 # field ioCmdAddr , <Ptr>
230 # field ioCompletion, <IOCompletionUPP>
231 # field ioResult , <OSErr>
232 # field ioNamePtr , <StringPtr>
233 # field ioVRefNum , <FSVolumeRefNum>
234 # field ioRefNum , <FSIORefNum>
235 # field ioVersNum , <SInt8>
236 # field ioPermssn , <SInt8>
237 # field ioMisc , <Ptr>
238 # field ioBuffer , <Ptr>
239 # field ioReqCount , <SInt32>
240 # field ioActCount , <SInt32>
241 # field ioPosMode , <SInt16>
242 # field ioPosOffset , <SInt32>
244 # synonym_t IOParamPtr, Ptr <IOParam>
246 # starttype struct FileParam
247 # field qLink , <QElemPtr>
248 # field qType , <SInt16>
249 # field ioTrap , <SInt16>
250 # field ioCmdAddr , <Ptr>
251 # field ioCompletion, <IOCompletionUPP>
252 # field ioResult , <OSErr>
253 # field ioNamePtr , <StringPtr>
254 # field ioVRefNum , <FSVolumeRefNum>
255 # field ioFRefNum , <FSIORefNum>
256 # field ioFVersNum , <SInt8>
257 # field filler1 , <SInt8>
258 # field ioFDirIndex , <SInt16>
259 # field ioFlAttrib , <SInt8>
260 # field ioFlVersNum , <SInt8>
261 # field ioFlFndrInfo, <FInfo>
262 # field ioFlNum , <UInt32>
263 # field ioFlStBlk , <UInt16>
264 # field ioFlLgLen , <SInt32>
265 # field ioFlPyLen , <SInt32>
266 # field ioFlRStBlk , <UInt16>
267 # field ioFlRLgLen , <SInt32>
268 # field ioFlRPyLen , <SInt32>
269 # field ioFlCrDat , <UInt32>
270 # field ioFlMdDat , <UInt32>
272 # synonym_t FileParamPtr, Ptr <FileParam>
274 # starttype struct VolumeParam
275 # field qLink , <QElemPtr>
276 # field qType , <SInt16>
277 # field ioTrap , <SInt16>
278 # field ioCmdAddr , <Ptr>
279 # field ioCompletion, <IOCompletionUPP>
280 # field ioResult , <OSErr>
281 # field ioNamePtr , <StringPtr>
282 # field ioVRefNum , <FSVolumeRefNum>
283 # field filler2 , <UInt32>
284 # field ioVolIndex , <SInt16>
285 # field ioVCrDate , <UInt32>
286 # field ioVLsBkUp , <UInt32>
287 # field ioVAtrb , <UInt16>
288 # field ioVNmFls , <UInt16>
289 # field ioVDirSt , <UInt16>
290 # field ioVBlLn , <SInt16>
291 # field ioVNmAlBlks , <UInt16>
292 # field ioVAlBlkSiz , <UInt32>
293 # field ioVClpSiz , <UInt32>
294 # field ioAlBlSt , <UInt16>
295 # field ioVNxtFNum , <UInt32>
296 # field ioVFrBlk , <UInt16>
298 # synonym_t VolumeParamPtr, Ptr <VolumeParam>
300 # starttype struct CntrlParam
301 # field qLink , <QElemPtr>
302 # field qType , <SInt16>
303 # field ioTrap , <SInt16>
304 # field ioCmdAddr , <Ptr>
305 # field ioCompletion, <IOCompletionUPP>
306 # field ioResult , <OSErr>
307 # field ioNamePtr , <StringPtr>
308 # field ioVRefNum , <FSVolumeRefNum>
309 # field ioCRefNum , <FSIORefNum>
310 # field csCode , <SInt16>
311 # array_field csParam, <SInt16>
313 # synonym_t CntrlParamPtr, Ptr <CntrlParamPtr>
315 # starttype struct SlotDevParam
316 # field qLink , <QElemPtr>
317 # field qType , <SInt16>
318 # field ioTrap , <SInt16>
319 # field ioCmdAddr , <Ptr>
320 # field ioCompletion, <IOCompletionUPP>
321 # field ioResult , <OSErr>
322 # field ioNamePtr , <StringPtr>
323 # field ioVRefNum , <FSVolumeRefNum>
324 # field ioSRefNum , <FSIORefNum>
325 # field ioSVersNum , <SInt8>
326 # field ioSPermssn , <SInt8>
327 # field ioSMix , <Ptr>
328 # field ioSFlags , <SInt16>
329 # field ioSlot , <SInt8>
330 # field ioID , <SInt8>
332 # synonym_t SlotDevParamPtr, Ptr <SlotDevParam>
334 # starttype struct MultiDevParam
335 # field qLink , <QElemPtr>
336 # field qType , <SInt16>
337 # field ioTrap , <SInt16>
338 # field ioCmdAddr , <Ptr>
339 # field ioCompletion, <IOCompletionUPP>
340 # field ioResult , <OSErr>
341 # field ioNamePtr , <StringPtr>
342 # field ioVRefNum , <FSVolumeRefNum>
343 # field ioMRefNum , <FSIORefNum>
344 # field ioMVersNum , <SInt8>
345 # field ioMPermssn , <SInt8>
346 # field ioMMix , <Ptr>
347 # field ioMFlags , <SInt16>
348 # field ioSEBlkPtr , <Ptr>
350 # synonym_t MultiDevParamPtr, Ptr <MultiDevParam>
352 # starttype union ParamBlockRec
353 # union_field ioParam , <IOParam>
354 # union_field fileParam , <FileParam>
355 # union_field volumeParam , <VolumeParam>
356 # union_field cntrlParam , <CntrlParam>
357 # union_field slotDevParam , <SlotDevParam>
358 # union_field multiDevParam, <MultiDevParam>
361 # starttype struct HFileInfo
362 # field qLink , <QElemPtr>
363 # field qType , <SInt16>
364 # field ioTrap , <SInt16>
365 # field ioCmdAddr , <Ptr>
366 # field ioCompletion, <IOCompletionUPP>
367 # field ioResult , <OSErr>
368 # field ioNamePtr , <StringPtr>
369 # field ioVRefNum , <FSVolumeRefNum>
370 # field ioFRefNum , <FSIORefNum>
371 # field ioFVersNum , <SInt8>
372 # field filler1 , <SInt8>
373 # field ioFDirIndex , <SInt16>
374 # field ioFlAttrib , <SInt8>
375 # field ioACUser , <SInt8>
376 # field ioFlFndrInfo, <FInfo>
377 # field ioDirID , <SInt32>
378 # field ioFlStBlk , <UInt16>
379 # field ioFlLgLen , <SInt32>
380 # field ioFlPyLen , <SInt32>
381 # field ioFlRStBlk , <UInt16>
382 # field ioFlRLgLen , <SInt32>
383 # field ioFlRPyLen , <SInt32>
384 # field ioFlCrDat , <UInt32>
385 # field ioFlMdDat , <UInt32>
386 # field ioFlBkDat , <UInt32>
387 # field ioFlXFndrInfo, <FXInfo>
388 # field ioFlParID , <SInt32>
389 # field ioFlClpSiz , <SInt32>
392 # starttype struct DirInfo
393 # field qLink , <QElemPtr>
394 # field qType , <SInt16>
395 # field ioTrap , <SInt16>
396 # field ioCmdAddr , <Ptr>
397 # field ioCompletion, <IOCompletionUPP>
398 # field ioResult , <OSErr>
399 # field ioNamePtr , <StringPtr>
400 # field ioVRefNum , <FSVolumeRefNum>
401 # field ioFRefNum , <FSIORefNum>
402 # field ioFVersNum , <SInt8>
403 # field filler1 , <SInt8>
404 # field ioFDirIndex , <SInt16>
405 # field ioFlAttrib , <SInt8>
406 # field ioACUser , <SInt8>
407 # field ioDrUsrWds , <DInfo>
408 # field ioDrDirID , <SInt32>
409 # field ioDrNmFls , <UInt16>
410 # array_field filler3, <SInt16>
411 # field ioDrCrDat , <UInt32>
412 # field ioDrMdDat , <UInt32>
413 # field ioDrBkDat , <UInt32>
414 # field ioDrFndrInfo, <DXInfo>
415 # field ioDrParID , <SInt32>
418 # starttype union CInfoPBRec
419 # union_field hFileInfo, <HFileInfo>
420 # union_field dirInfo , <DirInfo>
422 # synonym_t CInfoPBPtr, Ptr <CInfoPBRec>
424 # starttype struct XCInfoPBRec
425 # field qLink , <QElemPtr>
426 # field qType , <SInt16>
427 # field ioTrap , <SInt16>
428 # field ioCmdAddr , <Ptr>
429 # field ioCompletion, <ProcPtr>
430 # field ioResult , <OSErr>
431 # field ioNamePtr , <StringPtr>
432 # field ioVRefNum , <FSVolumeRefNum>
433 # field filler1 , <SInt32>
434 # field ioShortNamePtr, <StringPtr>
435 # field filler2 , <SInt16>
436 # field ioPDType , <SInt16>
437 # field ioPDAuxType , <SInt32>
438 # array_field filler3, <SInt32>
439 # field ioDirID , <SInt32>
441 # synonym_t XCInfoPBPtr, Ptr <XCInfoPBRec>
443 # starttype struct DTPBRec
444 # field qLink , <QElemPtr>
445 # field qType , <SInt16>
446 # field ioTrap , <SInt16>
447 # field ioCmdAddr , <Ptr>
448 # field ioCompletion, <IOCompletionUPP>
449 # field ioResult , <OSErr>
450 # field ioNamePtr , <StringPtr>
451 # field ioVRefNum , <FSVolumeRefNum>
452 # field ioDTRefNum , <FSIORefNum>
453 # field ioIndex , <SInt16>
454 # field ioTagInfo , <SInt16>
455 # field ioDTBuffer , <Ptr>
456 # field ioDTReqCount, <SInt32>
457 # field ioDTActCount, <SInt32>
458 # field ioFiller1 , <SInt8>
459 # field ioIconType , <UInt8>
460 # field ioFiller2 , <SInt16>
461 # field ioDirID , <SInt32>
462 # field ioFileCreator, <OSType>
463 # field ioFileType , <OSType>
464 # field ioFiller3 , <SInt32>
465 # field ioDTLgLen , <SInt32>
466 # field ioDTPyLen , <SInt32>
467 # array_field ioFiller4, <SInt16>
468 # field ioAPPLParID , <SInt32>
470 # synonym_t DTPBPtr, Ptr <DTPBRec>
472 # starttype struct HIOParam
473 # field qLink , <QElemPtr>
474 # field qType , <SInt16>
475 # field ioTrap , <SInt16>
476 # field ioCmdAddr , <Ptr>
477 # field ioCompletion, <IOCompletionUPP>
478 # field ioResult , <OSErr>
479 # field ioNamePtr , <StringPtr>
480 # field ioVRefNum , <FSVolumeRefNum>
481 # field ioRefNum , <FSIORefNum>
482 # field ioVersNum , <SInt8>
483 # field ioPermssn , <SInt8>
484 # field ioMisc , <Ptr>
485 # field ioBuffer , <Ptr>
486 # field ioReqCount , <SInt32>
487 # field ioActCount , <SInt32>
488 # field ioPosMode , <SInt16>
489 # field ioPosOffset , <SInt32>
491 # synonym_t HIOParamPtr, Ptr <HIOParam>
493 # starttype struct HFileParam
494 # field qLink , <QElemPtr>
495 # field qType , <SInt16>
496 # field ioTrap , <SInt16>
497 # field ioCmdAddr , <Ptr>
498 # field ioCompletion, <IOCompletionUPP>
499 # field ioResult , <OSErr>
500 # field ioNamePtr , <StringPtr>
501 # field ioVRefNum , <FSVolumeRefNum>
502 # field ioFRefNum , <FSIORefNum>
503 # field ioFVersNum , <SInt8>
504 # field filler1 , <SInt8>
505 # field ioFDirIndex , <SInt16>
506 # field ioFlAttrib , <SInt8>
507 # field ioFlVersNum , <SInt8>
508 # field ioFlFndrInfo, <FInfo>
509 # field ioDirID , <SInt32>
510 # field ioFlStBlk , <UInt16>
511 # field ioFlLgLen , <SInt32>
512 # field ioFlPyLen , <SInt32>
513 # field ioFlRStBlk , <UInt16>
514 # field ioFlRLgLen , <SInt32>
515 # field ioFlRPyLen , <SInt32>
516 # field ioFlCrDat , <UInt32>
517 # field ioFlMdDat , <UInt32>
519 # synonym_t HFileParamPtr, Ptr <HFileParam>
521 # starttype struct HVolumeParam
522 # field qLink , <QElemPtr>
523 # field qType , <SInt16>
524 # field ioTrap , <SInt16>
525 # field ioCmdAddr , <Ptr>
526 # field ioCompletion, <IOCompletionUPP>
527 # field ioResult , <OSErr>
528 # field ioNamePtr , <StringPtr>
529 # field ioVRefNum , <FSVolumeRefNum>
530 # field filler2 , <UInt32>
531 # field ioVolIndex , <SInt16>
532 # field ioVCrDate , <UInt32>
533 # field ioVLsMod , <UInt32>
534 # field ioVAtrb , <SInt16>
535 # field ioVNmFls , <UInt16>
536 # field ioVBitMap , <UInt16>
537 # field ioAllocPtr , <UInt16>
538 # field ioVNmAlBlks , <UInt16>
539 # field ioVAlBlkSiz , <UInt32>
540 # field ioVClpSiz , <UInt32>
541 # field ioAlBlSt , <UInt16>
542 # field ioVNxtCNID , <UInt16>
543 # field ioVFrBlk , <UInt16>
544 # field ioVSigWord , <UInt16>
545 # field ioVDrvInfo , <SInt16>
546 # field ioVDRefNum , <FSIORefNum>
547 # field ioVFSID , <SInt16>
548 # field ioVBkUp , <UInt32>
549 # field ioVSeqNum , <SInt16>
550 # field ioVWrCnt , <UInt32>
551 # field ioVFilCnt , <UInt32>
552 # field ioVDirCnt , <UInt32>
553 # array_field ioVFndrInfo, <SInt32>
555 # synonym_t HVolumeParamPtr, Ptr <HVolumeParam>
557 # starttype struct XIOParam
558 # field qLink , <QElemPtr>
559 # field qType , <SInt16>
560 # field ioTrap , <SInt16>
561 # field ioCmdAddr , <Ptr>
562 # field ioCompletion, <IOCompletionUPP>
563 # field ioResult , <OSErr>
564 # field ioNamePtr , <StringPtr>
565 # field ioVRefNum , <FSVolumeRefNum>
566 # field ioRefNum , <FSIORefNum>
567 # field ioVersNum , <SInt8>
568 # field ioPermssn , <SInt8>
569 # field ioMisc , <Ptr>
570 # field ioBuffer , <Ptr>
571 # field ioReqCount , <SInt32>
572 # field ioActCount , <SInt32>
573 # field ioPosMode , <SInt16>
574 # field ioWPosOffset, <wide>
576 # synonym_t XIOParamPtr, Ptr <XIOParam>
578 # starttype struct XVolumeParam
579 # field qLink , <QElemPtr>
580 # field qType , <SInt16>
581 # field ioTrap , <SInt16>
582 # field ioCmdAddr , <Ptr>
583 # field ioCompletion, <IOCompletionUPP>
584 # field ioResult , <OSErr>
585 # field ioNamePtr , <StringPtr>
586 # field ioVRefNum , <FSVolumeRefNum>
587 # field ioXVersion , <UInt32>
588 # field ioVolIndex , <SInt16>
589 # field ioVCrDate , <UInt32>
590 # field ioVLsMod , <UInt32>
591 # field ioVAtrb , <SInt16>
592 # field ioVNmFls , <UInt16>
593 # field ioVBitMap , <UInt16>
594 # field ioAllocPtr , <UInt16>
595 # field ioVNmAlBlks , <UInt16>
596 # field ioVAlBlkSiz , <UInt32>
597 # field ioVClpSiz , <UInt32>
598 # field ioAlBlSt , <UInt16>
599 # field ioVNxtCNID , <UInt16>
600 # field ioVFrBlk , <UInt16>
601 # field ioVSigWord , <UInt16>
602 # field ioVDrvInfo , <SInt16>
603 # field ioVDRefNum , <FSIORefNum>
604 # field ioVFSID , <SInt16>
605 # field ioVBkUp , <UInt32>
606 # field ioVSeqNum , <SInt16>
607 # field ioVWrCnt , <UInt32>
608 # field ioVFilCnt , <UInt32>
609 # field ioVDirCnt , <UInt32>
610 # array_field ioVFndrInfo, <SInt32>
611 # field ioVTotalBytes, <UInt64>
612 # field ioVFreeBytes , <UInt64>
614 # synonym_t XVolumeParamPtr, Ptr <XVolumeParam>
616 # starttype struct AccessParam
617 # field qLink , <QElemPtr>
618 # field qType , <SInt16>
619 # field ioTrap , <SInt16>
620 # field ioCmdAddr , <Ptr>
621 # field ioCompletion, <IOCompletionUPP>
622 # field ioResult , <OSErr>
623 # field ioNamePtr , <StringPtr>
624 # field ioVRefNum , <FSVolumeRefNum>
625 # field ioRefNum , <FSIORefNum>
626 # field ioDenyModes , <SInt16>
627 # field filler4 , <SInt16>
628 # field filler5 , <SInt8>
629 # field ioACUser , <SInt8>
630 # field filler6 , <SInt32>
631 # field ioACOwnerID , <SInt32>
632 # field ioACGroupID , <SInt32>
633 # field ioACAccess , <SInt32>
634 # field ioDirID , <SInt32>
636 # synonym_t AccessParamPtr, Ptr <AccessParam>
638 # starttype struct ObjParam
639 # field qLink , <QElemPtr>
640 # field qType , <SInt16>
641 # field ioTrap , <SInt16>
642 # field ioCmdAddr , <Ptr>
643 # field ioCompletion, <IOCompletionUPP>
644 # field ioResult , <OSErr>
645 # field ioNamePtr , <StringPtr>
646 # field ioVRefNum , <FSVolumeRefNum>
647 # field filler7 , <SInt16>
648 # field ioObjType , <SInt16>
649 # field ioObjNamePtr, <StringPtr>
650 # field ioObjID , <SInt32>
652 # synonym_t ObjParamPtr, Ptr <ObjParam>
654 # starttype struct CopyParam
655 # field qLink , <QElemPtr>
656 # field qType , <SInt16>
657 # field ioTrap , <SInt16>
658 # field ioCmdAddr , <Ptr>
659 # field ioCompletion, <IOCompletionUPP>
660 # field ioResult , <OSErr>
661 # field ioNamePtr , <StringPtr>
662 # field ioVRefNum , <FSVolumeRefNum>
663 # field ioDstVRefNum, <FSVolumeRefNum>
664 # field filler8 , <SInt16>
665 # field ioNewName , <StringPtr>
666 # field ioCopyName , <StringPtr>
667 # field ioNewDirID , <SInt32>
668 # field filler14 , <SInt32>
669 # field filler15 , <SInt32>
670 # field ioDirID , <SInt32>
672 # synonym_t CopyParamPtr, Ptr <CopyParam>
674 # starttype struct WDParam
675 # field qLink , <QElemPtr>
676 # field qType , <SInt16>
677 # field ioTrap , <SInt16>
678 # field ioCmdAddr , <Ptr>
679 # field ioCompletion, <IOCompletionUPP>
680 # field ioResult , <OSErr>
681 # field ioNamePtr , <StringPtr>
682 # field ioVRefNum , <FSVolumeRefNum>
683 # field ioWDCreated , <SInt16>
684 # field ioWDIndex , <SInt16>
685 # field ioWDProcID , <SInt32>
686 # field ioWDVRefNum , <FSVolumeRefNum>
687 # field filler10 , <SInt16>
688 # field filler11 , <SInt32>
689 # field filler12 , <SInt32>
690 # field filler13 , <SInt32>
691 # field ioWDDirID , <SInt32>
693 # synonym_t WDParamPtr, Ptr <WDParam>
695 # starttype struct FIDParam
696 # field qLink , <QElemPtr>
697 # field qType , <SInt16>
698 # field ioTrap , <SInt16>
699 # field ioCmdAddr , <Ptr>
700 # field ioCompletion, <IOCompletionUPP>
701 # field ioResult , <OSErr>
702 # field ioNamePtr , <StringPtr>
703 # field ioVRefNum , <FSVolumeRefNum>
704 # field filler14 , <SInt32>
705 # field ioDestNamePtr, <StringPtr>
706 # field filler15 , <SInt32>
707 # field ioDestDirID , <SInt32>
708 # field filler16 , <SInt32>
709 # field filler17 , <SInt32>
710 # field ioSrcDirID , <SInt32>
711 # field filler18 , <SInt16>
712 # field ioFileID , <SInt32>
714 # synonym_t FIDParamPtr, Ptr <FIDParam>
716 # starttype struct ForeignPrivParam
717 # field qLink , <QElemPtr>
718 # field qType , <SInt16>
719 # field ioTrap , <SInt16>
720 # field ioCmdAddr , <Ptr>
721 # field ioCompletion, <IOCompletionUPP>
722 # field ioResult , <OSErr>
723 # field ioNamePtr , <StringPtr>
724 # field ioVRefNum , <FSVolumeRefNum>
725 # field ioFiller21 , <SInt32>
726 # field ioFiller22 , <SInt32>
727 # field ioForeignPrivBuffer , <Ptr>
728 # field ioForeignPrivActCount, <SInt32>
729 # field ioForeignPrivReqCount, <SInt32>
730 # field ioFiller23 , <SInt32>
731 # field ioForeignPrivDirID , <SInt32>
732 # field ioForeignPrivInfo1 , <SInt32>
733 # field ioForeignPrivInfo2 , <SInt32>
734 # field ioForeignPrivInfo3 , <SInt32>
735 # field ioForeignPrivInfo4 , <SInt32>
737 # synonym_t ForeignPrivParamPtr, Ptr <ForeignPrivParam>
739 # starttype struct CSParam
740 # field qLink , <QElemPtr>
741 # field qType , <SInt16>
742 # field ioTrap , <SInt16>
743 # field ioCmdAddr , <Ptr>
744 # field ioCompletion, <IOCompletionUPP>
745 # field ioResult , <OSErr>
746 # field ioNamePtr , <StringPtr>
747 # field ioVRefNum , <FSVolumeRefNum>
748 # field ioMatchPtr , <FSSpecPtr>
749 # field ioReqMatchCount, <SInt32>
750 # field ioActMatchCount, <SInt32>
751 # field ioSearchBits , <SInt32>
752 # field ioSearchInfo1 , <CInfoPBPtr>
753 # field ioSearchInfo2 , <CInfoPBPtr>
754 # field ioSearchTime , <SInt32>
755 # field ioCatPosition , <CatPositionRec>
756 # field ioOptBuffer , <Ptr>
757 # field ioOptBufSize , <SInt32>
759 # synonym_t CSParamPtr, Ptr <CSParam>
761 # starttype union HParamBlockRec
762 # union_field ioParam , <HIOParam>
763 # union_field fileParam , <HFileParam>
764 # union_field volumeParam, <HVolumeParam>
765 # union_field accessParam, <AccessParam>
766 # union_field objParam , <ObjParam>
767 # union_field copyParam , <CopyParam>
768 # union_field wdParam , <WDParam>
769 # union_field fidParam , <FIDParam>
770 # union_field csParam , <CSParam>
771 # union_field foreignPrivParam, <ForeignPrivParam>
773 # synonym_t HParmBlkPtr, Ptr <HParamBlockRec>
775 # starttype struct CMovePBRec
776 # field qLink , <QElemPtr>
777 # field qType , <SInt16>
778 # field ioTrap , <SInt16>
779 # field ioCmdAddr , <Ptr>
780 # field ioCompletion, <IOCompletionUPP>
781 # field ioResult , <OSErr>
782 # field ioNamePtr , <StringPtr>
783 # field ioVRefNum , <FSVolumeRefNum>
784 # field filler1 , <SInt32>
785 # field ioNewName , <StringPtr>
786 # field filler2 , <SInt32>
787 # field ioNewDirID , <SInt32>
788 # array_field filler3, <SInt32>
789 # field ioDirID , <SInt32>
791 # synonym_t CMovePBPtr, Ptr <CMovePBRec>
793 # starttype struct WDPBRec
794 # field qLink , <QElemPtr>
795 # field qType , <SInt16>
796 # field ioTrap , <SInt16>
797 # field ioCmdAddr , <Ptr>
798 # field ioCompletion, <IOCompletionUPP>
799 # field ioResult , <OSErr>
800 # field ioNamePtr , <StringPtr>
801 # field ioVRefNum , <FSVolumeRefNum>
802 # field filler1 , <SInt16>
803 # field ioWDIndex , <SInt16>
804 # field ioWDProcID , <SInt32>
805 # field ioWDVRefNum , <FSVolumeRefNum>
806 # array_field filler2, <SInt16>
807 # field ioWDDirID , <SInt32>
809 # synonym_t WDPBPtr, Ptr <WDPBRec>
811 # starttype struct FCBPBRec
812 # field qLink , <QElemPtr>
813 # field qType , <SInt16>
814 # field ioTrap , <SInt16>
815 # field ioCmdAddr , <Ptr>
816 # field ioCompletion, <IOCompletionUPP>
817 # field ioResult , <OSErr>
818 # field ioNamePtr , <StringPtr>
819 # field ioVRefNum , <FSVolumeRefNum>
820 # field ioRefNum , <FSIORefNum>
821 # field filler , <SInt16>
822 # field ioFCBIndx , <SInt16>
823 # field filler1 , <SInt16>
824 # field ioFCBFlNm , <SInt32>
825 # field ioFCBFlags , <SInt16>
826 # field ioFCBStBlk , <UInt16>
827 # field ioFCBEOF , <SInt32>
828 # field ioFCBPLen , <SInt32>
829 # field ioFCBCrPs , <SInt32>
830 # field ioFCBVRefNum, <FSVolumeRefNum>
831 # field ioFCBClpSiz , <SInt32>
832 # field ioFCBParID , <SInt32>
834 # synonym_t FCBPBPtr, Ptr <FCBPBRec>
836 # starttype struct VCB
837 # field qLink , <QElemPtr>
838 # field qType , <SInt16>
839 # field vcbFlags , <SInt16>
840 # field vcbSigWord , <UInt16>
841 # field vcbCrDate , <UInt32>
842 # field vcbLsMod , <SInt16>
843 # field vcbAtrb , <SInt16>
844 # field vcbVBMSt , <SInt16>
845 # field vcbAllocPtr , <SInt16>
846 # field vcbNmAlBlks , <UInt16>
847 # field vcbAlBlkSiz , <SInt32>
848 # field vcbClpSiz , <SInt32>
849 # field vcbAlBlSt , <SInt16>
850 # field vcbNxtCNID , <SInt32>
851 # field vcbFreeBks , <UInt16>
852 # field vcbVN , <Str27>
853 # field vcbDrvNum , <SInt16>
854 # field vcbDRefNum , <FSIORefNum>
855 # field vcbFSID , <SInt16>
856 # field vcbVRefNum , <FSVolumeRefNum>
857 # field vcbMAdr , <Ptr>
858 # field vcbBufAdr , <Ptr>
859 # field vcbMLen , <SInt16>
860 # field vcbDirIndex , <SInt16>
861 # field vcbDirBlk , <SInt16>
862 # field vcbVolBkUp , <UInt32>
863 # field vcbVSeqNum , <UInt16>
864 # field vcbWrCnt , <SInt16>
865 # field vcbXTClpSiz , <SInt32>
866 # field vcbCTClpSiz , <SInt32>
867 # field vcbNmRtDirs , <UInt16>
868 # field vcbFilCnt , <SInt32>
869 # field vcbDirCnt , <SInt32>
870 # array_field vcbFndrInfo, <SInt32>
871 # field vcbVCSize , <UInt16>
872 # field vcbVBMCSiz , <UInt16>
873 # field vcbCtlCSiz , <UInt16>
874 # field vcbXTAlBlks , <UInt16>
875 # field vcbCTAlBlks , <UInt16>
876 # field vcbXTRef , <SInt16>
877 # field vcbCTRef , <SInt16>
878 # field vcbCtlBuf , <Ptr>
879 # field vcbDirIDM , <SInt32>
880 # field vcbOffsM , <SInt16>
882 # synonym_t VCBtr, Ptr <VCB>
885 # field qLink , <QElemPtr>
886 # field qType , <SInt16>
887 # field dQDrive , <SInt16>
888 # field dQRefNum, <SInt16>
889 # field dQFSID , <SInt16>
890 # field dQDrvSz , <UInt16>
891 # field dQDrvSz2, <UInt16>
893 # synonym_t DrvQElPtr, Ptr <DrvQEl>
896 #starttype struct FSPermissionInfo
897 # field userID , <UInt32>
898 # field groupID , <UInt32>
899 # field reserved1 , <UInt8>
900 # field userAccess, <UInt8>
901 # field mode , <UInt16>
902 # field fileSec , <FSFileSecurityRef>
905 #synonym_t FSCatalogInfoBitmap, <UInt32>
907 #num kFSCatInfoTextEncoding
908 #num kFSCatInfoNodeFlags
909 #num kFSCatInfoVolume
910 #num kFSCatInfoParentDirID
911 #num kFSCatInfoNodeID
912 #num kFSCatInfoCreateDate
913 #num kFSCatInfoContentMod
914 #num kFSCatInfoAttrMod
915 #num kFSCatInfoAccessDate
916 #num kFSCatInfoBackupDate
917 #num kFSCatInfoPermissions
918 #num kFSCatInfoFinderInfo
919 #num kFSCatInfoFinderXInfo
920 #num kFSCatInfoValence
921 #num kFSCatInfoDataSizes
922 #num kFSCatInfoRsrcSizes
923 #num kFSCatInfoSharingFlags
924 #num kFSCatInfoUserPrivs
925 #num kFSCatInfoUserAccess
926 #num kFSCatInfoSetOwnership
927 #num kFSCatInfoFSFileSecurityRef
928 #num kFSCatInfoAllDates
929 #num kFSCatInfoGettableInfo
930 #num kFSCatInfoSettableInfo
931 #num kFSCatInfoReserved
933 #num kFSNodeLockedBit
934 #num kFSNodeLockedMask
935 #num kFSNodeResOpenBit
936 #num kFSNodeResOpenMask
937 #num kFSNodeDataOpenBit
938 #num kFSNodeDataOpenMask
939 #num kFSNodeIsDirectoryBit
940 #num kFSNodeIsDirectoryMask
941 #num kFSNodeCopyProtectBit
942 #num kFSNodeCopyProtectMask
943 #num kFSNodeForkOpenBit
944 #num kFSNodeForkOpenMask
945 #num kFSNodeHardLinkBit
946 #num kFSNodeHardLinkMask
948 #num kFSNodeInSharedBit
949 #num kFSNodeInSharedMask
950 #num kFSNodeIsMountedBit
951 #num kFSNodeIsMountedMask
952 #num kFSNodeIsSharePointBit
953 #num kFSNodeIsSharePointMask
956 # starttype struct FSCatalogInfo
957 # field nodeFlags , <UInt16>
958 # field volume , <FSVolumeRefNum>
959 # field parentDirID , <UInt32>
960 # field nodeID , <UInt32>
961 # field sharingFlags , <UInt8>
962 # field userPrivileges , <UInt8>
963 # field reserved1 , <UInt8>
964 # field reserved2 , <UInt8>
965 # field createDate , <UTCDateTime>
966 # field contentModDate , <UTCDateTime>
967 # field attributeModDate, <UTCDateTime>
968 # field accessDate , <UTCDateTime>
969 # field backupDate , <UTCDateTime>
970 # field permissions , <FSPermissionInfo>
971 # array_field finderInfo, <UInt8>
972 # array_field extFinderInfo, <UInt8>
973 # field dataLogicalSize , <UInt64>
974 # field dataPhysicalSize, <UInt64>
975 # field rsrcLogicalSize , <UInt64>
976 # field rsrcPhysicalSize, <UInt64>
977 # field valence , <UInt32>
978 # field textEncodingHint, <TextEncoding>
981 # starttype struct FSCatalogInfo
982 # field nodeFlags , <UInt16>
983 # field volume , <FSVolumeRefNum>
984 # field parentDirID , <UInt32>
985 # field nodeID , <UInt32>
986 # field sharingFlags , <UInt8>
987 # field userPrivileges , <UInt8>
988 # field reserved1 , <UInt8>
989 # field reserved2 , <UInt8>
990 # field createDate , <UTCDateTime>
991 # field contentModDate , <UTCDateTime>
992 # field attributeModDate, <UTCDateTime>
993 # field accessDate , <UTCDateTime>
994 # field backupDate , <UTCDateTime>
995 # array_field permissions, <UInt32>
996 # array_field finderInfo, <UInt8>
997 # array_field extFinderInfo, <UInt8>
998 # field dataLogicalSize , <UInt64>
999 # field dataPhysicalSize, <UInt64>
1000 # field rsrcLogicalSize , <UInt64>
1001 # field rsrcPhysicalSize, <UInt64>
1002 # field valence , <UInt32>
1003 # field textEncodingHint, <TextEncoding>
1007 #starttype struct FSRefParam
1008 # field qLink , <QElemPtr>
1009 # field qType , <SInt16>
1010 # field ioTrap , <SInt16>
1011 # field ioCmdAddr , <Ptr>
1012 # field ioCompletion, <IOCompletionUPP>
1013 # field ioResult , <OSErr>
1014 # field ioNamePtr , <StringPtr>
1015 # field ioVRefNum , <FSVolumeRefNum>
1016 # field reserved1 , <SInt16>
1017 # field reserved2 , <UInt8>
1018 # field reserved3 , <UInt8>
1019 # field ref , Ptr <FSRef>
1020 # field whichInfo , <FSCatalogInfoBitmap>
1021 # field catInfo , Ptr <FSCatalogInfo>
1022 # field nameLength , <UniCharCount>
1023 # field name , Ptr <UniChar>
1024 # field ioDirID , <UInt32>
1025 # field spec , <FSSpecPtr>
1026 # field parentRef , Ptr <FSRef>
1027 # field newRef , Ptr <FSRef>
1028 # field textEncodingHint, <TextEncoding>
1029 # field outName , Ptr <HFSUniStr255>
1031 #synonym_t FSRefParamPtr, Ptr <FSRefParam>
1033 #starttype struct FSRefForkIOParam
1034 # field qLink , <QElemPtr>
1035 # field qType , <SInt16>
1036 # field ioTrap , <SInt16>
1037 # field ioCmdAddr , <Ptr>
1038 # field ioCompletion, <IOCompletionUPP>
1039 # field ioResult , <OSErr>
1040 # field parentRef , Ptr <FSRef>
1041 # field nameLength , <UniCharCount>
1042 # field name , Ptr <UniChar>
1043 # field whichInfo , <FSCatalogInfoBitmap>
1044 # field catInfo , Ptr <FSCatalogInfo>
1045 # field forkNameLength, <UniCharCount>
1046 # field forkName , Ptr <UniChar>
1047 # field permissions , <SInt8>
1048 # field reserved1 , <UInt8>
1049 # field forkRefNum , <FSIORefNum>
1050 # field newRef , Ptr <FSRef>
1052 #synonym_t FSRefForkIOParamPtr, Ptr <FSRefForkIOParam>
1054 #opaque_t OpaqueFSIterator
1055 #synonym_t FSIterator, Ptr <OpaqueFSIterator>
1058 #num kFSIterateSubtree
1059 #num kFSIterateDelete
1060 #num kFSIterateReserved
1062 #synonym_t FSIteratorFlags, <OptionBits>
1064 #starttype struct FSSearchParams
1065 # field searchTime , <Duration>
1066 # field searchBits , <OptionBits>
1067 # field searchNameLength, <UniCharCount>
1068 # field searchName , Ptr <UniChar>
1069 # field searchInfo1 , Ptr <FSCatalogInfo>
1070 # field searchInfo2 , Ptr <FSCatalogInfo>
1072 #synonym_t FSSearchParamsPtr, Ptr <FSSearchParams>
1074 #starttype struct FSCatalogBulkParam
1075 # field qLink , <QElemPtr>
1076 # field qType , <SInt16>
1077 # field ioTrap , <SInt16>
1078 # field ioCmdAddr , <Ptr>
1079 # field ioCompletion, <IOCompletionUPP>
1080 # field ioResult , <OSErr>
1081 # field containerChanged, <Boolean>
1082 # field reserved , <UInt8>
1083 # field iteratorFlags, <FSIteratorFlags>
1084 # field iterator , <FSIterator>
1085 # field container , Ptr <FSRef>
1086 # field maximumItems, <ItemCount>
1087 # field actualItems , <ItemCount>
1088 # field whichInfo , <FSCatalogInfoBitmap>
1089 # field catalogInfo , Ptr <FSCatalogInfo>
1090 # field refs , Ptr <FSRef>
1091 # field specs , <FSSpecPtr>
1092 # field names , Ptr <HFSUniStr255>
1093 # field searchParams, Ptr <FSSearchParams>
1095 #synonym_t FSCatalogBulkParamPtr, Ptr <FSCatalogBulkParam>
1097 #synonym_t FSAllocationFlags, <UInt16>
1098 #num kFSAllocDefaultFlags
1099 #num kFSAllocAllOrNothingMask
1100 #num kFSAllocContiguousMask
1101 #num kFSAllocNoRoundUpMask
1102 #num kFSAllocReservedMask