MoreFilesX.h File Reference

#include <Carbon.h>

Include dependency graph for MoreFilesX.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  FinderInfo
union  ExtendedFinderInfo

Defines

#define GetVolParmsInfoVersion(volParms)   ((volParms)->vMVersion)
#define GetVolParmsInfoAttrib(volParms)   ((volParms)->vMAttrib)
#define GetVolParmsInfoLocalHand(volParms)   ((volParms)->vMLocalHand)
#define GetVolParmsInfoServerAdr(volParms)   ((volParms)->vMServerAdr)
#define GetVolParmsInfoVolumeGrade(volParms)   (((volParms)->vMVersion >= 2) ? (volParms)->vMVolumeGrade : 0)
#define GetVolParmsInfoForeignPrivID(volParms)   (((volParms)->vMVersion >= 2) ? (volParms)->vMForeignPrivID : 0)
#define GetVolParmsInfoExtendedAttributes(volParms)   (((volParms)->vMVersion >= 3) ? (volParms)->vMExtendedAttributes : 0)
#define VolIsNetworkVolume(volParms)   ((volParms)->vMServerAdr != 0)
#define VolHasLimitFCBs(volParms)   (((volParms)->vMAttrib & (1L << bLimitFCBs)) != 0)
#define VolHasLocalWList(volParms)   (((volParms)->vMAttrib & (1L << bLocalWList)) != 0)
#define VolHasNoMiniFndr(volParms)   (((volParms)->vMAttrib & (1L << bNoMiniFndr)) != 0)
#define VolHasNoVNEdit(volParms)   (((volParms)->vMAttrib & (1L << bNoVNEdit)) != 0)
#define VolHasNoLclSync(volParms)   (((volParms)->vMAttrib & (1L << bNoLclSync)) != 0)
#define VolHasTrshOffLine(volParms)   (((volParms)->vMAttrib & (1L << bTrshOffLine)) != 0)
#define VolHasNoSwitchTo(volParms)   (((volParms)->vMAttrib & (1L << bNoSwitchTo)) != 0)
#define VolHasNoDeskItems(volParms)   (((volParms)->vMAttrib & (1L << bNoDeskItems)) != 0)
#define VolHasNoBootBlks(volParms)   (((volParms)->vMAttrib & (1L << bNoBootBlks)) != 0)
#define VolHasAccessCntl(volParms)   (((volParms)->vMAttrib & (1L << bAccessCntl)) != 0)
#define VolHasNoSysDir(volParms)   (((volParms)->vMAttrib & (1L << bNoSysDir)) != 0)
#define VolHasExtFSVol(volParms)   (((volParms)->vMAttrib & (1L << bHasExtFSVol)) != 0)
#define VolHasOpenDeny(volParms)   (((volParms)->vMAttrib & (1L << bHasOpenDeny)) != 0)
#define VolHasCopyFile(volParms)   (((volParms)->vMAttrib & (1L << bHasCopyFile)) != 0)
#define VolHasMoveRename(volParms)   (((volParms)->vMAttrib & (1L << bHasMoveRename)) != 0)
#define VolHasDesktopMgr(volParms)   (((volParms)->vMAttrib & (1L << bHasDesktopMgr)) != 0)
#define VolHasShortName(volParms)   (((volParms)->vMAttrib & (1L << bHasShortName)) != 0)
#define VolHasFolderLock(volParms)   (((volParms)->vMAttrib & (1L << bHasFolderLock)) != 0)
#define VolHasPersonalAccessPrivileges(volParms)   (((volParms)->vMAttrib & (1L << bHasPersonalAccessPrivileges)) != 0)
#define VolHasUserGroupList(volParms)   (((volParms)->vMAttrib & (1L << bHasUserGroupList)) != 0)
#define VolHasCatSearch(volParms)   (((volParms)->vMAttrib & (1L << bHasCatSearch)) != 0)
#define VolHasFileIDs(volParms)   (((volParms)->vMAttrib & (1L << bHasFileIDs)) != 0)
#define VolHasBTreeMgr(volParms)   (((volParms)->vMAttrib & (1L << bHasBTreeMgr)) != 0)
#define VolHasBlankAccessPrivileges(volParms)   (((volParms)->vMAttrib & (1L << bHasBlankAccessPrivileges)) != 0)
#define VolSupportsAsyncRequests(volParms)   (((volParms)->vMAttrib & (1L << bSupportsAsyncRequests)) != 0)
#define VolSupportsTrashVolumeCache(volParms)   (((volParms)->vMAttrib & (1L << bSupportsTrashVolumeCache)) != 0)
#define VolIsEjectable(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bIsEjectable)) != 0)
#define VolSupportsHFSPlusAPIs(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsHFSPlusAPIs)) != 0)
#define VolSupportsFSCatalogSearch(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsFSCatalogSearch)) != 0)
#define VolSupportsFSExchangeObjects(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsFSExchangeObjects)) != 0)
#define VolSupports2TBFiles(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupports2TBFiles)) != 0)
#define VolSupportsLongNames(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsLongNames)) != 0)
#define VolSupportsMultiScriptNames(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsMultiScriptNames)) != 0)
#define VolSupportsNamedForks(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsNamedForks)) != 0)
#define VolSupportsSubtreeIterators(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsSubtreeIterators)) != 0)
#define VolL2PCanMapFileBlocks(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bL2PCanMapFileBlocks)) != 0)
#define VolParentModDateChanges(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bParentModDateChanges)) != 0)
#define VolAncestorModDateChanges(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bAncestorModDateChanges)) != 0)
#define VolSupportsSymbolicLinks(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsSymbolicLinks)) != 0)
#define VolIsAutoMounted(volParms)   ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bIsAutoMounted)) != 0)
#define UserIsOwner(userPrivileges)   (((userPrivileges) & kioACUserNotOwnerMask) == 0)
#define UserHasFullAccess(userPrivileges)   (((userPrivileges) & (kioACUserAccessMask)) == kioACUserFull)
#define UserHasDropBoxAccess(userPrivileges)   (((userPrivileges) & kioACUserAccessMask) == kioACUserDropBox)
#define UserHasBulletinBoard(userPrivileges)   (((userPrivileges) & kioACUserAccessMask) == kioACUserBulletinBoard)
#define UserHasNoAccess(userPrivileges)   (((userPrivileges) & kioACUserAccessMask) == kioACUserNone)
#define CallIterateContainerFilterProc(userRoutine, containerChanged, currentLevel, catalogInfo, ref, spec, name, yourDataPtr)   (*(userRoutine))((containerChanged), (currentLevel), (catalogInfo), (ref), (spec), (name), (yourDataPtr))

Typedefs

typedef FinderInfo FinderInfo
typedef ExtendedFinderInfo ExtendedFinderInfo
typedef ItemCount currentLevel
typedef ItemCount const FSCatalogInfo * catalogInfo
typedef ItemCount const FSCatalogInfo
const FSRef * 
ref
typedef ItemCount const FSCatalogInfo
const FSRef const FSSpec
spec
typedef ItemCount const FSCatalogInfo
const FSRef const FSSpec const
HFSUniStr255 * 
name
typedef ItemCount const FSCatalogInfo
const FSRef const FSSpec const
HFSUniStr255 void * 
yourDataPtr

Enumerations

enum  {
  kioACUserAccessMask, kioACUserFull = 0x00, kioACUserNone = kioACUserAccessMask, kioACUserDropBox,
  kioACUserBulletinBoard = kioACUserNoMakeChangesMask
}

Functions

OSErr FSCopyFork (SInt16 srcRefNum, SInt16 dstRefNum, void *copyBufferPtr, ByteCount copyBufferSize)
OSErr FSGetVolParms (FSVolumeRefNum volRefNum, UInt32 bufferSize, GetVolParmsInfoBuffer *volParmsInfo, UInt32 *actualInfoSize)
OSErr FSGetVRefNum (const FSRef *ref, FSVolumeRefNum *vRefNum)
OSErr FSGetVInfo (FSVolumeRefNum volume, HFSUniStr255 *volumeName, UInt64 *freeBytes, UInt64 *totalBytes)
OSErr FSGetVolFileSystemID (FSVolumeRefNum volume, UInt16 *fileSystemID, UInt16 *signature)
OSErr FSGetMountedVolumes (FSRef ***volumeRefsHandle, ItemCount *numVolumes)
OSErr FSRefMakeFSSpec (const FSRef *ref, FSSpec *spec)
OSErr FSMakeFSRef (FSVolumeRefNum volRefNum, SInt32 dirID, ConstStr255Param name, FSRef *ref)
OSStatus FSMakePath (SInt16 vRefNum, SInt32 dirID, ConstStr255Param name, UInt8 *path, UInt32 maxPathSize)
OSStatus FSPathMakeFSSpec (const UInt8 *path, FSSpec *spec, Boolean *isDirectory)
OSErr UnicodeNameGetHFSName (UniCharCount nameLength, const UniChar *name, TextEncoding textEncodingHint, Boolean isVolumeName, Str31 hfsName)
OSErr HFSNameGetUnicodeName (ConstStr31Param hfsName, TextEncoding textEncodingHint, HFSUniStr255 *unicodeName)
Boolean FSRefValid (const FSRef *ref)
OSErr FSGetParentRef (const FSRef *ref, FSRef *parentRef)
OSErr FSGetFileDirName (const FSRef *ref, HFSUniStr255 *outName)
OSErr FSGetNodeID (const FSRef *ref, long *nodeID, Boolean *isDirectory)
OSErr FSGetUserPrivilegesPermissions (const FSRef *ref, UInt8 *userPrivileges, UInt32 permissions[4])
OSErr FSCheckLock (const FSRef *ref)
OSErr FSGetForkSizes (const FSRef *ref, UInt64 *dataLogicalSize, UInt64 *rsrcLogicalSize)
OSErr FSGetTotalForkSizes (const FSRef *ref, UInt64 *totalLogicalSize, UInt64 *totalPhysicalSize, ItemCount *forkCount)
OSErr FSBumpDate (const FSRef *ref)
OSErr FSGetFinderInfo (const FSRef *ref, FinderInfo *info, ExtendedFinderInfo *extendedInfo, Boolean *isDirectory)
OSErr FSSetFinderInfo (const FSRef *ref, const FinderInfo *info, const ExtendedFinderInfo *extendedInfo)
OSErr FSChangeCreatorType (const FSRef *ref, OSType fileCreator, OSType fileType)
OSErr FSChangeFinderFlags (const FSRef *ref, Boolean setBits, UInt16 flagBits)
OSErr FSSetInvisible (const FSRef *ref)
OSErr FSClearInvisible (const FSRef *ref)
OSErr FSSetNameLocked (const FSRef *ref)
OSErr FSClearNameLocked (const FSRef *ref)
OSErr FSSetIsStationery (const FSRef *ref)
OSErr FSClearIsStationery (const FSRef *ref)
OSErr FSSetHasCustomIcon (const FSRef *ref)
OSErr FSClearHasCustomIcon (const FSRef *ref)
OSErr FSClearHasBeenInited (const FSRef *ref)
OSErr FSCopyFileMgrAttributes (const FSRef *sourceRef, const FSRef *destinationRef, Boolean copyLockBit)
OSErr FSMoveRenameObjectUnicode (const FSRef *ref, const FSRef *destDirectory, UniCharCount nameLength, const UniChar *name, TextEncoding textEncodingHint, FSRef *newRef)
OSErr FSDeleteContainerContents (const FSRef *container)
OSErr FSDeleteContainer (const FSRef *container)
typedef CALLBACK_API (Boolean, IterateContainerFilterProcPtr)(Boolean containerChanged
OSErr FSIterateContainer (const FSRef *container, ItemCount maxLevels, FSCatalogInfoBitmap whichInfo, Boolean wantFSSpec, Boolean wantName, IterateContainerFilterProcPtr iterateFilter, void *yourDataPtr)
OSErr FSGetDirectoryItems (const FSRef *container, FSRef ***refsHandle, ItemCount *numRefs, Boolean *containerChanged)
OSErr FSExchangeObjectsCompat (const FSRef *sourceRef, const FSRef *destRef, FSRef *newSourceRef, FSRef *newDestRef)
OSErr FSLockRangeCompat (SInt16 refNum, SInt32 rangeLength, SInt32 rangeStart)
OSErr FSUnlockRangeCompat (SInt16 refNum, SInt32 rangeLength, SInt32 rangeStart)
OSErr FSGetDirAccess (const FSRef *ref, SInt32 *ownerID, SInt32 *groupID, SInt32 *accessRights)
OSErr FSSetDirAccess (const FSRef *ref, SInt32 ownerID, SInt32 groupID, SInt32 accessRights)
OSErr FSGetVolMountInfoSize (FSVolumeRefNum volRefNum, SInt16 *size)
OSErr FSGetVolMountInfo (FSVolumeRefNum volRefNum, void *volMountInfo)
OSErr FSVolumeMount (const void *volMountInfo, FSVolumeRefNum *volRefNum)
OSErr FSMapID (FSVolumeRefNum volRefNum, SInt32 ugID, SInt16 objType, Str31 name)
OSErr FSMapName (FSVolumeRefNum volRefNum, ConstStr255Param name, SInt16 objType, SInt32 *ugID)
OSErr FSCopyFile (const FSRef *srcFileRef, const FSRef *dstDirectoryRef, UniCharCount nameLength, const UniChar *copyName, TextEncoding textEncodingHint, FSRef *newRef)
OSErr FSMoveRename (const FSRef *srcFileRef, const FSRef *dstDirectoryRef, UniCharCount nameLength, const UniChar *moveName, TextEncoding textEncodingHint, FSRef *newRef)
OSErr FSResolveFileIDRef (FSVolumeRefNum volRefNum, SInt32 fileID, FSRef *ref)
OSErr FSCreateFileIDRef (const FSRef *ref, SInt32 *fileID)
Ptr GetTempBuffer (ByteCount buffReqSize, ByteCount *buffActSize)
OSErr FileRefNumGetFSRef (short refNum, FSRef *ref)
OSErr FSSetDefault (const FSRef *newDefault, FSRef *oldDefault)
OSErr FSRestoreDefault (const FSRef *oldDefault)


Define Documentation

#define CallIterateContainerFilterProc userRoutine,
containerChanged,
currentLevel,
catalogInfo,
ref,
spec,
name,
yourDataPtr   )     (*(userRoutine))((containerChanged), (currentLevel), (catalogInfo), (ref), (spec), (name), (yourDataPtr))
 

Definition at line 1217 of file MoreFilesX.h.

Referenced by FSIterateContainerLevel().

#define GetVolParmsInfoAttrib volParms   )     ((volParms)->vMAttrib)
 

Definition at line 148 of file MoreFilesX.h.

#define GetVolParmsInfoExtendedAttributes volParms   )     (((volParms)->vMVersion >= 3) ? (volParms)->vMExtendedAttributes : 0)
 

Definition at line 162 of file MoreFilesX.h.

#define GetVolParmsInfoForeignPrivID volParms   )     (((volParms)->vMVersion >= 2) ? (volParms)->vMForeignPrivID : 0)
 

Definition at line 158 of file MoreFilesX.h.

#define GetVolParmsInfoLocalHand volParms   )     ((volParms)->vMLocalHand)
 

Definition at line 150 of file MoreFilesX.h.

#define GetVolParmsInfoServerAdr volParms   )     ((volParms)->vMServerAdr)
 

Definition at line 152 of file MoreFilesX.h.

#define GetVolParmsInfoVersion volParms   )     ((volParms)->vMVersion)
 

Definition at line 146 of file MoreFilesX.h.

#define GetVolParmsInfoVolumeGrade volParms   )     (((volParms)->vMVersion >= 2) ? (volParms)->vMVolumeGrade : 0)
 

Definition at line 156 of file MoreFilesX.h.

#define UserHasBulletinBoard userPrivileges   )     (((userPrivileges) & kioACUserAccessMask) == kioACUserBulletinBoard)
 

Definition at line 292 of file MoreFilesX.h.

#define UserHasDropBoxAccess userPrivileges   )     (((userPrivileges) & kioACUserAccessMask) == kioACUserDropBox)
 

Definition at line 290 of file MoreFilesX.h.

#define UserHasFullAccess userPrivileges   )     (((userPrivileges) & (kioACUserAccessMask)) == kioACUserFull)
 

Definition at line 288 of file MoreFilesX.h.

#define UserHasNoAccess userPrivileges   )     (((userPrivileges) & kioACUserAccessMask) == kioACUserNone)
 

Definition at line 294 of file MoreFilesX.h.

#define UserIsOwner userPrivileges   )     (((userPrivileges) & kioACUserNotOwnerMask) == 0)
 

Definition at line 286 of file MoreFilesX.h.

#define VolAncestorModDateChanges volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bAncestorModDateChanges)) != 0)
 

Definition at line 244 of file MoreFilesX.h.

#define VolHasAccessCntl volParms   )     (((volParms)->vMAttrib & (1L << bAccessCntl)) != 0)
 

Definition at line 186 of file MoreFilesX.h.

#define VolHasBlankAccessPrivileges volParms   )     (((volParms)->vMAttrib & (1L << bHasBlankAccessPrivileges)) != 0)
 

Definition at line 214 of file MoreFilesX.h.

#define VolHasBTreeMgr volParms   )     (((volParms)->vMAttrib & (1L << bHasBTreeMgr)) != 0)
 

Definition at line 212 of file MoreFilesX.h.

#define VolHasCatSearch volParms   )     (((volParms)->vMAttrib & (1L << bHasCatSearch)) != 0)
 

Definition at line 208 of file MoreFilesX.h.

#define VolHasCopyFile volParms   )     (((volParms)->vMAttrib & (1L << bHasCopyFile)) != 0)
 

Definition at line 194 of file MoreFilesX.h.

Referenced by FSCopyFile().

#define VolHasDesktopMgr volParms   )     (((volParms)->vMAttrib & (1L << bHasDesktopMgr)) != 0)
 

Definition at line 198 of file MoreFilesX.h.

#define VolHasExtFSVol volParms   )     (((volParms)->vMAttrib & (1L << bHasExtFSVol)) != 0)
 

Definition at line 190 of file MoreFilesX.h.

#define VolHasFileIDs volParms   )     (((volParms)->vMAttrib & (1L << bHasFileIDs)) != 0)
 

Definition at line 210 of file MoreFilesX.h.

#define VolHasFolderLock volParms   )     (((volParms)->vMAttrib & (1L << bHasFolderLock)) != 0)
 

Definition at line 202 of file MoreFilesX.h.

#define VolHasLimitFCBs volParms   )     (((volParms)->vMAttrib & (1L << bLimitFCBs)) != 0)
 

Definition at line 168 of file MoreFilesX.h.

#define VolHasLocalWList volParms   )     (((volParms)->vMAttrib & (1L << bLocalWList)) != 0)
 

Definition at line 170 of file MoreFilesX.h.

#define VolHasMoveRename volParms   )     (((volParms)->vMAttrib & (1L << bHasMoveRename)) != 0)
 

Definition at line 196 of file MoreFilesX.h.

Referenced by FSMoveRename().

#define VolHasNoBootBlks volParms   )     (((volParms)->vMAttrib & (1L << bNoBootBlks)) != 0)
 

Definition at line 184 of file MoreFilesX.h.

#define VolHasNoDeskItems volParms   )     (((volParms)->vMAttrib & (1L << bNoDeskItems)) != 0)
 

Definition at line 182 of file MoreFilesX.h.

#define VolHasNoLclSync volParms   )     (((volParms)->vMAttrib & (1L << bNoLclSync)) != 0)
 

Definition at line 176 of file MoreFilesX.h.

#define VolHasNoMiniFndr volParms   )     (((volParms)->vMAttrib & (1L << bNoMiniFndr)) != 0)
 

Definition at line 172 of file MoreFilesX.h.

#define VolHasNoSwitchTo volParms   )     (((volParms)->vMAttrib & (1L << bNoSwitchTo)) != 0)
 

Definition at line 180 of file MoreFilesX.h.

#define VolHasNoSysDir volParms   )     (((volParms)->vMAttrib & (1L << bNoSysDir)) != 0)
 

Definition at line 188 of file MoreFilesX.h.

#define VolHasNoVNEdit volParms   )     (((volParms)->vMAttrib & (1L << bNoVNEdit)) != 0)
 

Definition at line 174 of file MoreFilesX.h.

#define VolHasOpenDeny volParms   )     (((volParms)->vMAttrib & (1L << bHasOpenDeny)) != 0)
 

Definition at line 192 of file MoreFilesX.h.

#define VolHasPersonalAccessPrivileges volParms   )     (((volParms)->vMAttrib & (1L << bHasPersonalAccessPrivileges)) != 0)
 

Definition at line 204 of file MoreFilesX.h.

#define VolHasShortName volParms   )     (((volParms)->vMAttrib & (1L << bHasShortName)) != 0)
 

Definition at line 200 of file MoreFilesX.h.

#define VolHasTrshOffLine volParms   )     (((volParms)->vMAttrib & (1L << bTrshOffLine)) != 0)
 

Definition at line 178 of file MoreFilesX.h.

#define VolHasUserGroupList volParms   )     (((volParms)->vMAttrib & (1L << bHasUserGroupList)) != 0)
 

Definition at line 206 of file MoreFilesX.h.

#define VolIsAutoMounted volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bIsAutoMounted)) != 0)
 

Definition at line 248 of file MoreFilesX.h.

#define VolIsEjectable volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bIsEjectable)) != 0)
 

Definition at line 222 of file MoreFilesX.h.

#define VolIsNetworkVolume volParms   )     ((volParms)->vMServerAdr != 0)
 

Definition at line 166 of file MoreFilesX.h.

#define VolL2PCanMapFileBlocks volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bL2PCanMapFileBlocks)) != 0)
 

Definition at line 240 of file MoreFilesX.h.

#define VolParentModDateChanges volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bParentModDateChanges)) != 0)
 

Definition at line 242 of file MoreFilesX.h.

#define VolSupports2TBFiles volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupports2TBFiles)) != 0)
 

Definition at line 230 of file MoreFilesX.h.

#define VolSupportsAsyncRequests volParms   )     (((volParms)->vMAttrib & (1L << bSupportsAsyncRequests)) != 0)
 

Definition at line 216 of file MoreFilesX.h.

#define VolSupportsFSCatalogSearch volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsFSCatalogSearch)) != 0)
 

Definition at line 226 of file MoreFilesX.h.

#define VolSupportsFSExchangeObjects volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsFSExchangeObjects)) != 0)
 

Definition at line 228 of file MoreFilesX.h.

Referenced by FSExchangeObjectsCompat().

#define VolSupportsHFSPlusAPIs volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsHFSPlusAPIs)) != 0)
 

Definition at line 224 of file MoreFilesX.h.

#define VolSupportsLongNames volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsLongNames)) != 0)
 

Definition at line 232 of file MoreFilesX.h.

#define VolSupportsMultiScriptNames volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsMultiScriptNames)) != 0)
 

Definition at line 234 of file MoreFilesX.h.

#define VolSupportsNamedForks volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsNamedForks)) != 0)
 

Definition at line 236 of file MoreFilesX.h.

#define VolSupportsSubtreeIterators volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsSubtreeIterators)) != 0)
 

Definition at line 238 of file MoreFilesX.h.

#define VolSupportsSymbolicLinks volParms   )     ((GetVolParmsInfoExtendedAttributes(volParms) & (1L << bSupportsSymbolicLinks)) != 0)
 

Definition at line 246 of file MoreFilesX.h.

#define VolSupportsTrashVolumeCache volParms   )     (((volParms)->vMAttrib & (1L << bSupportsTrashVolumeCache)) != 0)
 

Definition at line 218 of file MoreFilesX.h.


Typedef Documentation

typedef ItemCount const FSCatalogInfo* catalogInfo
 

Definition at line 1169 of file MoreFilesX.h.

typedef ItemCount currentLevel
 

Definition at line 1169 of file MoreFilesX.h.

typedef union ExtendedFinderInfo ExtendedFinderInfo
 

Definition at line 135 of file MoreFilesX.h.

typedef union FinderInfo FinderInfo
 

Definition at line 128 of file MoreFilesX.h.

typedef ItemCount const FSCatalogInfo const FSRef const FSSpec const HFSUniStr255* name
 

Definition at line 1169 of file MoreFilesX.h.

typedef ItemCount const FSCatalogInfo const FSRef* ref
 

Definition at line 1169 of file MoreFilesX.h.

typedef ItemCount const FSCatalogInfo const FSRef const FSSpec* spec
 

Definition at line 1169 of file MoreFilesX.h.

typedef ItemCount const FSCatalogInfo const FSRef const FSSpec const HFSUniStr255 void* yourDataPtr
 

Definition at line 1169 of file MoreFilesX.h.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
kioACUserAccessMask 
kioACUserFull 
kioACUserNone 
kioACUserDropBox 
kioACUserBulletinBoard 

Definition at line 269 of file MoreFilesX.h.


Function Documentation

typedef CALLBACK_API Boolean  ,
IterateContainerFilterProcPtr 
 

OSErr FileRefNumGetFSRef short  refNum,
FSRef *  ref
 

Definition at line 2711 of file MoreFilesX.c.

References NULL.

Referenced by closefile().

OSErr FSBumpDate const FSRef *  ref  ) 
 

Definition at line 1005 of file MoreFilesX.c.

References noErr, NULL, and FSDeleteContainerGlobals::result.

Referenced by FSChangeFinderFlags().

OSErr FSChangeCreatorType const FSRef *  ref,
OSType  fileCreator,
OSType  fileType
 

Definition at line 1175 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSChangeFinderFlags const FSRef *  ref,
Boolean  setBits,
UInt16  flagBits
 

Definition at line 1221 of file MoreFilesX.c.

References FSBumpDate(), NULL, and FSDeleteContainerGlobals::result.

Referenced by FSClearHasBeenInited(), FSClearHasCustomIcon(), FSClearInvisible(), FSClearIsStationery(), FSClearNameLocked(), FSSetHasCustomIcon(), FSSetInvisible(), FSSetIsStationery(), and FSSetNameLocked().

Here is the call graph for this function:

OSErr FSCheckLock const FSRef *  ref  ) 
 

Definition at line 835 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSClearHasBeenInited const FSRef *  ref  ) 
 

Definition at line 1327 of file MoreFilesX.c.

References FSChangeFinderFlags().

Here is the call graph for this function:

OSErr FSClearHasCustomIcon const FSRef *  ref  ) 
 

Definition at line 1318 of file MoreFilesX.c.

References FSChangeFinderFlags().

Here is the call graph for this function:

OSErr FSClearInvisible const FSRef *  ref  ) 
 

Definition at line 1270 of file MoreFilesX.c.

References FSChangeFinderFlags().

Here is the call graph for this function:

OSErr FSClearIsStationery const FSRef *  ref  ) 
 

Definition at line 1302 of file MoreFilesX.c.

References FSChangeFinderFlags().

Here is the call graph for this function:

OSErr FSClearNameLocked const FSRef *  ref  ) 
 

Definition at line 1286 of file MoreFilesX.c.

References FSChangeFinderFlags().

Referenced by closefile(), and deletefile().

Here is the call graph for this function:

OSErr FSCopyFile const FSRef *  srcFileRef,
const FSRef *  dstDirectoryRef,
UniCharCount  nameLength,
const UniChar *  copyName,
TextEncoding  textEncodingHint,
FSRef *  newRef
 

Definition at line 2422 of file MoreFilesX.c.

References FSGetVolParms(), FSMakeFSRef(), noErr, NULL, UnicodeNameGetHFSName(), and VolHasCopyFile.

Here is the call graph for this function:

OSErr FSCopyFileMgrAttributes const FSRef *  sourceRef,
const FSRef *  destinationRef,
Boolean  copyLockBit
 

Definition at line 1336 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSCopyFork SInt16  srcRefNum,
SInt16  dstRefNum,
void *  copyBufferPtr,
ByteCount  copyBufferSize
 

Definition at line 158 of file MoreFilesX.c.

References noErr, NULL, and FSDeleteContainerGlobals::result.

OSErr FSCreateFileIDRef const FSRef *  ref,
SInt32 *  fileID
 

Definition at line 2603 of file MoreFilesX.c.

References noErr, and NULL.

OSErr FSDeleteContainer const FSRef *  container  ) 
 

Definition at line 1589 of file MoreFilesX.c.

References FSDeleteContainerContents(), NULL, and FSDeleteContainerGlobals::result.

Here is the call graph for this function:

OSErr FSDeleteContainerContents const FSRef *  container  ) 
 

Definition at line 1575 of file MoreFilesX.c.

References FSDeleteContainerLevel(), and FSDeleteContainerGlobals::result.

Referenced by FSDeleteContainer().

Here is the call graph for this function:

OSErr FSExchangeObjectsCompat const FSRef *  sourceRef,
const FSRef *  destRef,
FSRef *  newSourceRef,
FSRef *  newDestRef
 

Definition at line 1938 of file MoreFilesX.c.

References FSGetVolParms(), GenerateUniqueHFSUniStr(), noErr, NULL, FSDeleteContainerGlobals::result, and VolSupportsFSExchangeObjects.

Here is the call graph for this function:

OSErr FSGetDirAccess const FSRef *  ref,
SInt32 *  ownerID,
SInt32 *  groupID,
SInt32 *  accessRights
 

Definition at line 2200 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetDirectoryItems const FSRef *  container,
FSRef ***  refsHandle,
ItemCount *  numRefs,
Boolean containerChanged
 

Definition at line 1771 of file MoreFilesX.c.

References FSDeleteContainerGlobals::actualObjects, DisposeHandle, MemError, NewHandle, noErr, NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetFileDirName const FSRef *  ref,
HFSUniStr255 *  outName
 

Definition at line 734 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetFinderInfo const FSRef *  ref,
FinderInfo info,
ExtendedFinderInfo extendedInfo,
Boolean isDirectory
 

Definition at line 1081 of file MoreFilesX.c.

References info, NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetForkSizes const FSRef *  ref,
UInt64 *  dataLogicalSize,
UInt64 *  rsrcLogicalSize
 

Definition at line 878 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetMountedVolumes FSRef ***  volumeRefsHandle,
ItemCount *  numVolumes
 

Definition at line 349 of file MoreFilesX.c.

References DisposeHandle, MemError, NewHandle, noErr, NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetNodeID const FSRef *  ref,
long nodeID,
Boolean isDirectory
 

Definition at line 755 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetParentRef const FSRef *  ref,
FSRef *  parentRef
 

Definition at line 698 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetTotalForkSizes const FSRef *  ref,
UInt64 *  totalLogicalSize,
UInt64 *  totalPhysicalSize,
ItemCount *  forkCount
 

Definition at line 926 of file MoreFilesX.c.

References noErr, NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetUserPrivilegesPermissions const FSRef *  ref,
UInt8 *  userPrivileges,
UInt32  permissions[4]
 

Definition at line 795 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetVInfo FSVolumeRefNum  volume,
HFSUniStr255 *  volumeName,
UInt64 *  freeBytes,
UInt64 *  totalBytes
 

Definition at line 289 of file MoreFilesX.c.

References info, NULL, and FSDeleteContainerGlobals::result.

Referenced by langgetextendedvolumeinfo().

OSErr FSGetVolFileSystemID FSVolumeRefNum  volume,
UInt16 *  fileSystemID,
UInt16 *  signature
 

Definition at line 321 of file MoreFilesX.c.

References info, NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetVolMountInfo FSVolumeRefNum  volRefNum,
void *  volMountInfo
 

Definition at line 2311 of file MoreFilesX.c.

References NULL.

OSErr FSGetVolMountInfoSize FSVolumeRefNum  volRefNum,
SInt16 *  size
 

Definition at line 2286 of file MoreFilesX.c.

References NULL.

OSErr FSGetVolParms FSVolumeRefNum  volRefNum,
UInt32  bufferSize,
GetVolParmsInfoBuffer *  volParmsInfo,
UInt32 *  actualInfoSize
 

Definition at line 231 of file MoreFilesX.c.

References NULL, FSDeleteContainerGlobals::result, and return().

Referenced by FSCopyFile(), FSExchangeObjectsCompat(), and FSMoveRename().

Here is the call graph for this function:

OSErr FSGetVRefNum const FSRef *  ref,
FSVolumeRefNum *  vRefNum
 

Definition at line 263 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSIterateContainer const FSRef *  container,
ItemCount  maxLevels,
FSCatalogInfoBitmap  whichInfo,
Boolean  wantFSSpec,
Boolean  wantName,
IterateContainerFilterProcPtr  iterateFilter,
void *  yourDataPtr
 

Definition at line 1710 of file MoreFilesX.c.

References FSIterateContainerGlobals::actualObjects, FSIterateContainerGlobals::containerChanged, FSIterateContainerGlobals::currentLevel, FSIterateContainerLevel(), FSIterateContainerGlobals::iterateFilter, FSIterateContainerGlobals::maxLevels, FSIterateContainerGlobals::name, FSIterateContainerGlobals::namePtr, noErr, NULL, FSIterateContainerGlobals::quitFlag, FSIterateContainerGlobals::ref, FSIterateContainerGlobals::result, FSDeleteContainerGlobals::result, FSIterateContainerGlobals::spec, FSIterateContainerGlobals::specPtr, FSIterateContainerGlobals::whichInfo, and FSIterateContainerGlobals::yourDataPtr.

Here is the call graph for this function:

OSErr FSLockRangeCompat SInt16  refNum,
SInt32  rangeLength,
SInt32  rangeStart
 

Definition at line 2154 of file MoreFilesX.c.

References FSDeleteContainerGlobals::result.

OSErr FSMakeFSRef FSVolumeRefNum  volRefNum,
SInt32  dirID,
ConstStr255Param  name,
FSRef *  ref
 

Definition at line 438 of file MoreFilesX.c.

References CONST_CAST, NULL, and FSDeleteContainerGlobals::result.

Referenced by FSCopyFile(), FSMakePath(), FSMoveRename(), FSResolveFileIDRef(), and FSSetDefault().

OSStatus FSMakePath SInt16  vRefNum,
SInt32  dirID,
ConstStr255Param  name,
UInt8 *  path,
UInt32  maxPathSize
 

Definition at line 466 of file MoreFilesX.c.

References FSMakeFSRef(), NULL, and FSDeleteContainerGlobals::result.

Here is the call graph for this function:

OSErr FSMapID FSVolumeRefNum  volRefNum,
SInt32  ugID,
SInt16  objType,
Str31  name
 

Definition at line 2362 of file MoreFilesX.c.

References NULL.

OSErr FSMapName FSVolumeRefNum  volRefNum,
ConstStr255Param  name,
SInt16  objType,
SInt32 *  ugID
 

Definition at line 2391 of file MoreFilesX.c.

References CONST_CAST, and NULL.

OSErr FSMoveRename const FSRef *  srcFileRef,
const FSRef *  dstDirectoryRef,
UniCharCount  nameLength,
const UniChar *  moveName,
TextEncoding  textEncodingHint,
FSRef *  newRef
 

Definition at line 2492 of file MoreFilesX.c.

References FSGetVolParms(), FSMakeFSRef(), noErr, NULL, UnicodeNameGetHFSName(), and VolHasMoveRename.

Here is the call graph for this function:

OSErr FSMoveRenameObjectUnicode const FSRef *  ref,
const FSRef *  destDirectory,
UniCharCount  nameLength,
const UniChar *  name,
TextEncoding  textEncodingHint,
FSRef *  newRef
 

Definition at line 1371 of file MoreFilesX.c.

References GenerateUniqueHFSUniStr(), NULL, and FSDeleteContainerGlobals::result.

Here is the call graph for this function:

OSStatus FSPathMakeFSSpec const UInt8 *  path,
FSSpec spec,
Boolean isDirectory
 

Definition at line 497 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSRefMakeFSSpec const FSRef *  ref,
FSSpec spec
 

Definition at line 417 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

Referenced by findapplication().

Boolean FSRefValid const FSRef *  ref  ) 
 

Definition at line 690 of file MoreFilesX.c.

References noErr, and NULL.

OSErr FSResolveFileIDRef FSVolumeRefNum  volRefNum,
SInt32  fileID,
FSRef *  ref
 

Definition at line 2569 of file MoreFilesX.c.

References FSMakeFSRef(), and NULL.

Here is the call graph for this function:

OSErr FSRestoreDefault const FSRef *  oldDefault  ) 
 

Definition at line 2768 of file MoreFilesX.c.

References NULL.

OSErr FSSetDefault const FSRef *  newDefault,
FSRef *  oldDefault
 

Definition at line 2721 of file MoreFilesX.c.

References FSMakeFSRef(), and NULL.

Here is the call graph for this function:

OSErr FSSetDirAccess const FSRef *  ref,
SInt32  ownerID,
SInt32  groupID,
SInt32  accessRights
 

Definition at line 2244 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSSetFinderInfo const FSRef *  ref,
const FinderInfo info,
const ExtendedFinderInfo extendedInfo
 

Definition at line 1140 of file MoreFilesX.c.

References info, NULL, and FSDeleteContainerGlobals::result.

OSErr FSSetHasCustomIcon const FSRef *  ref  ) 
 

Definition at line 1311 of file MoreFilesX.c.

References FSChangeFinderFlags().

Here is the call graph for this function:

OSErr FSSetInvisible const FSRef *  ref  ) 
 

Definition at line 1263 of file MoreFilesX.c.

References FSChangeFinderFlags().

Here is the call graph for this function:

OSErr FSSetIsStationery const FSRef *  ref  ) 
 

Definition at line 1295 of file MoreFilesX.c.

References FSChangeFinderFlags().

Here is the call graph for this function:

OSErr FSSetNameLocked const FSRef *  ref  ) 
 

Definition at line 1279 of file MoreFilesX.c.

References FSChangeFinderFlags().

Referenced by filecreateandopen(), fileopenorcreate(), and openfile().

Here is the call graph for this function:

OSErr FSUnlockRangeCompat SInt16  refNum,
SInt32  rangeLength,
SInt32  rangeStart
 

Definition at line 2177 of file MoreFilesX.c.

References FSDeleteContainerGlobals::result.

OSErr FSVolumeMount const void *  volMountInfo,
FSVolumeRefNum *  volRefNum
 

Definition at line 2336 of file MoreFilesX.c.

References CONST_CAST, and NULL.

Ptr GetTempBuffer ByteCount  buffReqSize,
ByteCount *  buffActSize
 

Definition at line 2643 of file MoreFilesX.c.

References FreeMem(), and NULL.

Here is the call graph for this function:

OSErr HFSNameGetUnicodeName ConstStr31Param  hfsName,
TextEncoding  textEncodingHint,
HFSUniStr255 *  unicodeName
 

Definition at line 608 of file MoreFilesX.c.

References CONST_CAST, noErr, NULL, and FSDeleteContainerGlobals::result.

OSErr UnicodeNameGetHFSName UniCharCount  nameLength,
const UniChar *  name,
TextEncoding  textEncodingHint,
Boolean  isVolumeName,
Str31  hfsName
 

Definition at line 526 of file MoreFilesX.c.

References noErr, NULL, and FSDeleteContainerGlobals::result.

Referenced by FSCopyFile(), and FSMoveRename().


Generated on Thu Jun 8 00:40:14 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6