From: PHO <pho@cielonegro.org> Date: Tue, 12 Oct 2010 15:42:17 +0000 (+0900) Subject: Files.h (partway) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=8bc392af35d7e2c70dba27f571e1314d651892de;p=bindings-CarbonCore.git Files.h (partway) --- diff --git a/Bindings/CoreServices/CarbonCore/Files.hsc b/Bindings/CoreServices/CarbonCore/Files.hsc index ecbf49e..c33f230 100644 --- a/Bindings/CoreServices/CarbonCore/Files.hsc +++ b/Bindings/CoreServices/CarbonCore/Files.hsc @@ -893,4 +893,211 @@ import Bindings.CoreServices.CarbonCore.MacTypes # synonym_t DrvQElPtr, Ptr <DrvQEl> #endif --- FIXME: FSPermissionInfo +#starttype struct FSPermissionInfo +# field userID , <UInt32> +# field groupID , <UInt32> +# field reserved1 , <UInt8> +# field userAccess, <UInt8> +# field mode , <UInt16> +# field fileSec , <FSFileSecurityRef> +#stoptype + +#synonym_t FSCatalogInfoBitmap, <UInt32> +#num kFSCatInfoNone +#num kFSCatInfoTextEncoding +#num kFSCatInfoNodeFlags +#num kFSCatInfoVolume +#num kFSCatInfoParentDirID +#num kFSCatInfoNodeID +#num kFSCatInfoCreateDate +#num kFSCatInfoContentMod +#num kFSCatInfoAttrMod +#num kFSCatInfoAccessDate +#num kFSCatInfoBackupDate +#num kFSCatInfoPermissions +#num kFSCatInfoFinderInfo +#num kFSCatInfoFinderXInfo +#num kFSCatInfoValence +#num kFSCatInfoDataSizes +#num kFSCatInfoRsrcSizes +#num kFSCatInfoSharingFlags +#num kFSCatInfoUserPrivs +#num kFSCatInfoUserAccess +#num kFSCatInfoSetOwnership +#num kFSCatInfoFSFileSecurityRef +#num kFSCatInfoAllDates +#num kFSCatInfoGettableInfo +#num kFSCatInfoSettableInfo +#num kFSCatInfoReserved + +#num kFSNodeLockedBit +#num kFSNodeLockedMask +#num kFSNodeResOpenBit +#num kFSNodeResOpenMask +#num kFSNodeDataOpenBit +#num kFSNodeDataOpenMask +#num kFSNodeIsDirectoryBit +#num kFSNodeIsDirectoryMask +#num kFSNodeCopyProtectBit +#num kFSNodeCopyProtectMask +#num kFSNodeForkOpenBit +#num kFSNodeForkOpenMask +#num kFSNodeHardLinkBit +#num kFSNodeHardLinkMask + +#num kFSNodeInSharedBit +#num kFSNodeInSharedMask +#num kFSNodeIsMountedBit +#num kFSNodeIsMountedMask +#num kFSNodeIsSharePointBit +#num kFSNodeIsSharePointMask + +#ifdef __LP64__ +# starttype struct FSCatalogInfo +# field nodeFlags , <UInt16> +# field volume , <FSVolumeRefNum> +# field parentDirID , <UInt32> +# field nodeID , <UInt32> +# field sharingFlags , <UInt8> +# field userPrivileges , <UInt8> +# field reserved1 , <UInt8> +# field reserved2 , <UInt8> +# field createDate , <UTCDateTime> +# field contentModDate , <UTCDateTime> +# field attributeModDate, <UTCDateTime> +# field accessDate , <UTCDateTime> +# field backupDate , <UTCDateTime> +# field permissions , <FSPermissionInfo> +# array_field finderInfo, <UInt8> +# array_field extFinderInfo, <UInt8> +# field dataLogicalSize , <UInt64> +# field dataPhysicalSize, <UInt64> +# field rsrcLogicalSize , <UInt64> +# field rsrcPhysicalSize, <UInt64> +# field valence , <UInt32> +# field textEncodingHint, <TextEncoding> +# stoptype +#else +# starttype struct FSCatalogInfo +# field nodeFlags , <UInt16> +# field volume , <FSVolumeRefNum> +# field parentDirID , <UInt32> +# field nodeID , <UInt32> +# field sharingFlags , <UInt8> +# field userPrivileges , <UInt8> +# field reserved1 , <UInt8> +# field reserved2 , <UInt8> +# field createDate , <UTCDateTime> +# field contentModDate , <UTCDateTime> +# field attributeModDate, <UTCDateTime> +# field accessDate , <UTCDateTime> +# field backupDate , <UTCDateTime> +# array_field permissions, <UInt32> +# array_field finderInfo, <UInt8> +# array_field extFinderInfo, <UInt8> +# field dataLogicalSize , <UInt64> +# field dataPhysicalSize, <UInt64> +# field rsrcLogicalSize , <UInt64> +# field rsrcPhysicalSize, <UInt64> +# field valence , <UInt32> +# field textEncodingHint, <TextEncoding> +# stoptype +#endif + +#starttype struct FSRefParam +# field qLink , <QElemPtr> +# field qType , <SInt16> +# field ioTrap , <SInt16> +# field ioCmdAddr , <Ptr> +# field ioCompletion, <IOCompletionUPP> +# field ioResult , <OSErr> +# field ioNamePtr , <StringPtr> +# field ioVRefNum , <FSVolumeRefNum> +# field reserved1 , <SInt16> +# field reserved2 , <UInt8> +# field reserved3 , <UInt8> +# field ref , Ptr <FSRef> +# field whichInfo , <FSCatalogInfoBitmap> +# field catInfo , Ptr <FSCatalogInfo> +# field nameLength , <UniCharCount> +# field name , Ptr <UniChar> +# field ioDirID , <UInt32> +# field spec , <FSSpecPtr> +# field parentRef , Ptr <FSRef> +# field newRef , Ptr <FSRef> +# field textEncodingHint, <TextEncoding> +# field outName , Ptr <HFSUniStr255> +#stoptype +#synonym_t FSRefParamPtr, Ptr <FSRefParam> + +#starttype struct FSRefForkIOParam +# field qLink , <QElemPtr> +# field qType , <SInt16> +# field ioTrap , <SInt16> +# field ioCmdAddr , <Ptr> +# field ioCompletion, <IOCompletionUPP> +# field ioResult , <OSErr> +# field parentRef , Ptr <FSRef> +# field nameLength , <UniCharCount> +# field name , Ptr <UniChar> +# field whichInfo , <FSCatalogInfoBitmap> +# field catInfo , Ptr <FSCatalogInfo> +# field forkNameLength, <UniCharCount> +# field forkName , Ptr <UniChar> +# field permissions , <SInt8> +# field reserved1 , <UInt8> +# field forkRefNum , <FSIORefNum> +# field newRef , Ptr <FSRef> +#stoptype +#synonym_t FSRefForkIOParamPtr, Ptr <FSRefForkIOParam> + +#opaque_t OpaqueFSIterator +#synonym_t FSIterator, Ptr <OpaqueFSIterator> + +#num kFSIterateFlat +#num kFSIterateSubtree +#num kFSIterateDelete +#num kFSIterateReserved + +#synonym_t FSIteratorFlags, <OptionBits> + +#starttype struct FSSearchParams +# field searchTime , <Duration> +# field searchBits , <OptionBits> +# field searchNameLength, <UniCharCount> +# field searchName , Ptr <UniChar> +# field searchInfo1 , Ptr <FSCatalogInfo> +# field searchInfo2 , Ptr <FSCatalogInfo> +#stoptype +#synonym_t FSSearchParamsPtr, Ptr <FSSearchParams> + +#starttype struct FSCatalogBulkParam +# field qLink , <QElemPtr> +# field qType , <SInt16> +# field ioTrap , <SInt16> +# field ioCmdAddr , <Ptr> +# field ioCompletion, <IOCompletionUPP> +# field ioResult , <OSErr> +# field containerChanged, <Boolean> +# field reserved , <UInt8> +# field iteratorFlags, <FSIteratorFlags> +# field iterator , <FSIterator> +# field container , Ptr <FSRef> +# field maximumItems, <ItemCount> +# field actualItems , <ItemCount> +# field whichInfo , <FSCatalogInfoBitmap> +# field catalogInfo , Ptr <FSCatalogInfo> +# field refs , Ptr <FSRef> +# field specs , <FSSpecPtr> +# field names , Ptr <HFSUniStr255> +# field searchParams, Ptr <FSSearchParams> +#stoptype +#synonym_t FSCatalogBulkParamPtr, Ptr <FSCatalogBulkParam> + +#synonym_t FSAllocationFlags, <UInt16> +#num kFSAllocDefaultFlags +#num kFSAllocAllOrNothingMask +#num kFSAllocContiguousMask +#num kFSAllocNoRoundUpMask +#num kFSAllocReservedMask +