From: PHO Date: Wed, 13 Oct 2010 16:20:12 +0000 (+0900) Subject: Files.h (partway) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=a45e9c58dd952fe25f519657cc4f1f633f9ee453;p=bindings-CarbonCore.git Files.h (partway) --- diff --git a/Bindings/CoreServices/CarbonCore/Files.hsc b/Bindings/CoreServices/CarbonCore/Files.hsc index c33f230..4d0de36 100644 --- a/Bindings/CoreServices/CarbonCore/Files.hsc +++ b/Bindings/CoreServices/CarbonCore/Files.hsc @@ -1,3 +1,4 @@ +{- -*- coding: utf-8 -*- -} #include #include @@ -1101,3 +1102,295 @@ import Bindings.CoreServices.CarbonCore.MacTypes #num kFSAllocNoRoundUpMask #num kFSAllocReservedMask +#starttype struct FSForkIOParam +# field qLink , +# field qType , +# field ioTrap , +# field ioCmdAddr , +# field ioCompletion, +# field ioResult , +# field reserved1 , Ptr () +# field reserved2 , +# field forkRefNum , +# field reserved3 , +# field permissions , +# field ref , Ptr +# field buffer , +# field requestCount, +# field actualCount , +# field positionMode, +# field positionOffset, +# field allocationFlags, +# field allocationAmount, +# field forkNameLength, +# field forkName, Ptr +# field forkIterator, +# field outForkName , Ptr +#stoptype +#synonym_t FSForkIOParamPtr, Ptr + +{- +        *'``・* 。 +        |     `*。 +       ,。∩      *    もうどうにでもな〜れ +      + (´・ω・`) *。+゚ +      `*。 ヽ、  つ *゚* +       `・+。*・' ゚⊃ +゚ +       ☆   ∪~ 。*゚ +        `・+。*・ ゚ +-} + +#starttype struct FSForkInfo +# field flags , +# field permissions, +# field volume , +# field reserved2 , +# field nodeID , +# field forkID , +# field currentPosition, +# field logicalEOF , +# field physicalEOF, +# field process , +#stoptype +#synonym_t FSForkInfoPtr, Ptr + +#starttype struct FSForkCBInfoParam +# field qLink , +# field qType , +# field ioTrap , +# field ioCmdAddr , +# field ioCompletion, +# field ioResult , +# field desiredRefNum, +# field volumeRefNum, +# field iterator , +# field actualRefNum, +# field ref , Ptr +# field forkInfo , Ptr +# field forkName , Ptr +#stoptype +#synonym_t FSForkCBInfoParamPtr, Ptr + +#starttype struct FSRangeLockParam +# field qLink , +# field qType , +# field ioTrap , +# field ioCmdAddr , +# field ioCompletion, +# field ioResult , +# field forkRefNum , +# field requestCount, +# field positionMode, +# field positionOffset, +# field rangeStart , +#stoptype +#synonym_t FSRangeLockParamPtr, Ptr + +#synonym_t FSVolumeInfoBitmap, +#num kFSVolInfoNone +#num kFSVolInfoCreateDate +#num kFSVolInfoModDate +#num kFSVolInfoBackupDate +#num kFSVolInfoCheckedDate +#num kFSVolInfoFileCount +#num kFSVolInfoSizes +#num kFSVolInfoBlocks +#num kFSVolInfoNextAlloc +#num kFSVolInfoRsrcClump +#num kFSVolInfoDataClump +#num kFSVolInfoNextID +#num kFSVolInfoFinderInfo +#num kFSVolInfoFlags +#num kFSVolInfoFSInfo +#num kFSVolInfoDriveInfo +#num kFSVolInfoGettableInfo +#num kFSVolInfoSettableInfo + +#num kFSVolFlagDefaultVolumeBit +#num kFSVolFlagDefaultVolumeMask +#num kFSVolFlagFilesOpenBit +#num kFSVolFlagFilesOpenMask +#num kFSVolFlagHardwareLockedBit +#num kFSVolFlagHardwareLockedMask +#num kFSVolFlagJournalingActiveBit +#num kFSVolFlagJournalingActiveMask +#num kFSVolFlagSoftwareLockedBit +#num kFSVolFlagSoftwareLockedMask + +#starttype struct FSVolumeInfo +# field createDate , +# field modifyDate , +# field backupDate , +# field checkedDate, +# field fileCount , +# field folderCount, +# field totalBytes , +# field freeBytes , +# field blockSize , +# field totalBlocks, +# field freeBlocks , +# field nextAllocation , +# field rsrcClumpSize , +# field dataClumpSize , +# field nextCatalogID , +# array_field finderInfo, +# field flags , +# field filesystemID , +# field signature , +# field driveNumber , +# field driverRefNum , +#stoptype +#synonym_t FSVolumeInfo, Ptr + +#starttype struct FSVolumeInfoParam +# field qLink , +# field qType , +# field ioTrap , +# field ioCmdAddr , +# field ioCompletion, +# field ioResult , +# field ioNamePtr , +# field ioVRefNum , +# field volumeIndex , +# field whichInfo , +# field volumeInfo , Ptr +# field volumeName , Ptr +# field ref , Ptr +#stoptype +#synonym_t FSVolumeInfoParamPtr, Ptr + +#starttype struct GetVolParmsInfoBuffer +# field vMVersion , +# field vMAttrib , +# field vMLocalHand, +# field vMServerAdr, +# field vMVolumeGrade , +# field vMForeignPrivID , +# field vMExtendedAttributes, +# field vMDeviceID , Ptr () +# field vMMaxNameLength , +#stoptype + +#synonym_t VolumeType, +#num AppleShareMediaType + +#starttype struct VolMountInfoHeader +# field length, +# field media , +#stoptype +#synonym_t VolMountInfoPtr, Ptr + +#starttype struct VolumeMountInfoHeader +# field length, +# field media , +# field flags , +#stoptype +#synonym_t VolumeMountInfoHeaderPtr, Ptr + +#num volMountNoLoginMsgFlagBit +#num volMountNoLoginMsgFlagMask +#num volMountExtendedFlagsBit +#num volMountExtendedFlagsMask +#num volMountInteractBit +#num volMountInteractMask +#num volMountChangedBit +#num volMountChangedMask +#num volMountFSReservedMask +#num volMountSysReservedMask + +#starttype struct AFPVolMountInfo +# field length , +# field media , +# field flags , +# field nbpInterval , +# field nbpCount , +# field uamType , +# field zoneNameOffset , +# field serverNameOffset , +# field volNameOffset , +# field userNameOffset , +# field userPasswordOffset, +# field volPasswordOffset , +# array_field AFPData , CChar +#stoptype +#synonym_t AFPVolMountInfoPtr, Ptr + +#num kAFPExtendedFlagsAlternateAddressMask + +#num kAFPTagTypeIP +#num kAFPTagTypeIPPort +#num kAFPTagTypeDDP +#num kAFPTagTypeDNS + +#num kAFPTagLengthIP +#num kAFPTagLengthIPPort +#num kAFPTagLengthDDP + +#starttype struct AFPTagData +# field fLength, +# field fType , +# flexible_array_member fData, +#stoptype + +#starttype struct AFPAlternateAddress +# field fVersion , +# field fAddressCount, +# flexible_array_member fAddressList, +#stoptype + +#num kLargeIconSize +#num kLarge4BitIconSize +#num kLarge8BitIconSize +#num kSmallIconSize +#num kSmall4BitIconSize +#num kSmall8BitIconSize + +#ccall FSMakeFSRefUnicode , Ptr -> -> Ptr -> -> Ptr -> IO +#ccall PBMakeFSRefUnicodeSync , Ptr -> IO +#ccall PBMakeFSRefUnicodeAsync , Ptr -> IO () +#ccall FSCompareFSRefs , Ptr -> Ptr -> IO +#ccall PBCompareFSRefsSync , Ptr -> IO +#ccall PBCompareFSRefsAsync , Ptr -> IO () +#ccall FSCreateFileUnicode , Ptr -> -> Ptr -> -> Ptr -> Ptr -> -> IO +#ccall PBCreateFileUnicodeSync , Ptr -> IO +#ccall PBCreateFileUnicodeAsync, Ptr -> IO () +#ccall FSCreateDirectoryUnicode, Ptr -> -> Ptr -> -> Ptr -> Ptr -> -> Ptr -> IO +#ccall PBCreateDirectoryUnicodeSync , Ptr -> IO +#ccall PBCreateDirectoryUnicodeAsync, Ptr -> IO () +#ccall FSDeleteObject , Ptr -> IO +#ccall PBDeleteObjectSync , Ptr -> IO +#ccall PBDeleteObjectAsync , Ptr -> IO () +#ccall FSUnlinkObject , Ptr -> IO +#ccall PBUnlinkObjectSync , Ptr -> IO +#ccall PBUnlinkObjectAsync , Ptr -> IO () +#ccall FSMoveObject , Ptr -> Ptr -> Ptr -> IO +#ccall PBMoveObjectSync , Ptr -> IO +#ccall PBMoveObjectAsync , Ptr -> IO () +#ccall FSExchangeObjects , Ptr -> Ptr -> IO +#ccall PBExchangeObjectsSync , Ptr -> IO +#ccall PBExchangeObjectsAsync , Ptr -> IO () + +#num kFSReplaceObjectDefaultOptions +#num kFSReplaceObjectReplaceMetadata +#num kFSReplaceObjectSaveOriginalAsABackup +#num kFSReplaceObjectReplacePermissionInfo +#num kFSReplaceObjectPreservePermissionInfo +#num kFSReplaceObjectDoNotCheckObjectWriteAccess + +#ccall FSReplaceObject , Ptr -> Ptr -> -> -> Ptr -> -> Ptr -> IO +#ccall FSPathReplaceObject , Ptr CChar -> Ptr CChar -> -> -> Ptr CChar -> -> IO +#ccall FSGetTemporaryDirectoryForReplaceObject , Ptr -> Ptr -> -> IO +#ccall FSPathGetTemporaryDirectoryForReplaceObject, Ptr CChar -> Ptr CChar -> -> -> IO +#ccall FSRenameUnicode , Ptr -> -> Ptr -> -> Ptr -> IO +#ccall PBRenameUnicodeSync , Ptr -> IO +#ccall PBRenameUnicodeAsync , Ptr -> IO () +#ccall FSGetCatalogInfo , Ptr -> -> Ptr -> Ptr -> -> Ptr -> IO +#ccall PBGetCatalogInfoSync , Ptr -> IO +#ccall PBGetCatalogInfoAsync, Ptr -> IO () +#ccall FSSetCatalogInfo , Ptr -> -> Ptr -> IO +#ccall PBSetCatalogInfoSync , Ptr -> IO +#ccall PBSetCatalogInfoAsync, Ptr -> IO () +#ccall FSOpenIterator , Ptr -> -> Ptr -> IO +#ccall PBOpenIteratorSync , Ptr -> IO +#ccall PBOpenIteratorAsync , Ptr -> IO () +#ccall FSCloseIterator , \ No newline at end of file