MoreFilesX.h File Reference

Mac OS X updater program. More...

#include <Carbon/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.

Classes

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 MoreFiles_FSLockRange (SInt16 refNum, SInt32 rangeLength, SInt32 rangeStart)
OSErr MoreFiles_FSUnlockRange (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)


Detailed Description

Mac OS X updater program.

LicenseInfo
firstyear=2004&license=viewergpl

Copyright (c) 2004-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file MoreFilesX.h.


Define Documentation

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

Definition at line 1247 of file MoreFilesX.h.

Referenced by FSIterateContainerLevel().

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

Definition at line 178 of file MoreFilesX.h.

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

Definition at line 192 of file MoreFilesX.h.

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

Definition at line 188 of file MoreFilesX.h.

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

Definition at line 180 of file MoreFilesX.h.

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

Definition at line 182 of file MoreFilesX.h.

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

Definition at line 176 of file MoreFilesX.h.

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

Definition at line 186 of file MoreFilesX.h.

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

Definition at line 322 of file MoreFilesX.h.

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

Definition at line 320 of file MoreFilesX.h.

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

Definition at line 318 of file MoreFilesX.h.

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

Definition at line 324 of file MoreFilesX.h.

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

Definition at line 316 of file MoreFilesX.h.

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

Definition at line 274 of file MoreFilesX.h.

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

Definition at line 216 of file MoreFilesX.h.

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

Definition at line 244 of file MoreFilesX.h.

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

Definition at line 242 of file MoreFilesX.h.

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

Definition at line 238 of file MoreFilesX.h.

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

Definition at line 224 of file MoreFilesX.h.

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

Definition at line 228 of file MoreFilesX.h.

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

Definition at line 220 of file MoreFilesX.h.

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

Definition at line 240 of file MoreFilesX.h.

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

Definition at line 232 of file MoreFilesX.h.

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

Definition at line 198 of file MoreFilesX.h.

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

Definition at line 200 of file MoreFilesX.h.

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

Definition at line 226 of file MoreFilesX.h.

Referenced by FSMoveRename().

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

Definition at line 214 of file MoreFilesX.h.

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

Definition at line 212 of file MoreFilesX.h.

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

Definition at line 206 of file MoreFilesX.h.

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

Definition at line 202 of file MoreFilesX.h.

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

Definition at line 210 of file MoreFilesX.h.

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

Definition at line 218 of file MoreFilesX.h.

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

Definition at line 204 of file MoreFilesX.h.

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

Definition at line 222 of file MoreFilesX.h.

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

Definition at line 234 of file MoreFilesX.h.

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

Definition at line 230 of file MoreFilesX.h.

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

Definition at line 208 of file MoreFilesX.h.

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

Definition at line 236 of file MoreFilesX.h.

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

Definition at line 278 of file MoreFilesX.h.

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

Definition at line 252 of file MoreFilesX.h.

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

Definition at line 196 of file MoreFilesX.h.

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

Definition at line 270 of file MoreFilesX.h.

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

Definition at line 272 of file MoreFilesX.h.

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

Definition at line 260 of file MoreFilesX.h.

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

Definition at line 246 of file MoreFilesX.h.

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

Definition at line 256 of file MoreFilesX.h.

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

Definition at line 258 of file MoreFilesX.h.

Referenced by FSExchangeObjectsCompat().

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

Definition at line 254 of file MoreFilesX.h.

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

Definition at line 262 of file MoreFilesX.h.

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

Definition at line 264 of file MoreFilesX.h.

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

Definition at line 266 of file MoreFilesX.h.

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

Definition at line 268 of file MoreFilesX.h.

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

Definition at line 276 of file MoreFilesX.h.

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

Definition at line 248 of file MoreFilesX.h.


Typedef Documentation

typedef ItemCount const FSCatalogInfo* catalogInfo

Definition at line 1199 of file MoreFilesX.h.

typedef ItemCount currentLevel

Definition at line 1199 of file MoreFilesX.h.

typedef union ExtendedFinderInfo ExtendedFinderInfo

Definition at line 165 of file MoreFilesX.h.

typedef union FinderInfo FinderInfo

Definition at line 158 of file MoreFilesX.h.

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

Definition at line 1199 of file MoreFilesX.h.

typedef ItemCount const FSCatalogInfo const FSRef* ref

Definition at line 1199 of file MoreFilesX.h.

typedef ItemCount const FSCatalogInfo const FSRef const FSSpec* spec

Definition at line 1199 of file MoreFilesX.h.

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

Definition at line 1199 of file MoreFilesX.h.


Enumeration Type Documentation

anonymous enum

Enumerator:
kioACUserAccessMask 
kioACUserFull 
kioACUserNone 
kioACUserDropBox 
kioACUserBulletinBoard 

Definition at line 299 of file MoreFilesX.h.


Function Documentation

typedef CALLBACK_API ( Boolean  ,
IterateContainerFilterProcPtr   
)

OSErr FileRefNumGetFSRef ( short  refNum,
FSRef *  ref 
)

Definition at line 2677 of file MoreFilesX.c.

References NULL.

OSErr FSBumpDate ( const FSRef *  ref  ) 

Definition at line 991 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

Referenced by FSChangeCreatorType(), and FSChangeFinderFlags().

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

Definition at line 1161 of file MoreFilesX.c.

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

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

Definition at line 1207 of file MoreFilesX.c.

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

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

OSErr FSCheckLock ( const FSRef *  ref  ) 

Definition at line 821 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSClearHasBeenInited ( const FSRef *  ref  ) 

Definition at line 1313 of file MoreFilesX.c.

References FSChangeFinderFlags().

OSErr FSClearHasCustomIcon ( const FSRef *  ref  ) 

Definition at line 1304 of file MoreFilesX.c.

References FSChangeFinderFlags().

OSErr FSClearInvisible ( const FSRef *  ref  ) 

Definition at line 1256 of file MoreFilesX.c.

References FSChangeFinderFlags().

OSErr FSClearIsStationery ( const FSRef *  ref  ) 

Definition at line 1288 of file MoreFilesX.c.

References FSChangeFinderFlags().

OSErr FSClearNameLocked ( const FSRef *  ref  ) 

Definition at line 1272 of file MoreFilesX.c.

References FSChangeFinderFlags().

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

Definition at line 2388 of file MoreFilesX.c.

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

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

Definition at line 1322 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSCopyFork ( SInt16  srcRefNum,
SInt16  dstRefNum,
void copyBufferPtr,
ByteCount  copyBufferSize 
)

Definition at line 144 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSCreateFileIDRef ( const FSRef *  ref,
SInt32 *  fileID 
)

Definition at line 2569 of file MoreFilesX.c.

References NULL.

OSErr FSDeleteContainer ( const FSRef *  container  ) 

Definition at line 1555 of file MoreFilesX.c.

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

OSErr FSDeleteContainerContents ( const FSRef *  container  ) 

Definition at line 1541 of file MoreFilesX.c.

References FSDeleteContainerLevel(), and FSDeleteContainerGlobals::result.

Referenced by FSDeleteContainer().

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

Definition at line 1904 of file MoreFilesX.c.

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

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

Definition at line 2166 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

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

Definition at line 1737 of file MoreFilesX.c.

References FSDeleteContainerGlobals::actualObjects, NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetFileDirName ( const FSRef *  ref,
HFSUniStr255 *  outName 
)

Definition at line 720 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

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

Definition at line 1067 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

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

Definition at line 864 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetMountedVolumes ( FSRef ***  volumeRefsHandle,
ItemCount *  numVolumes 
)

Definition at line 335 of file MoreFilesX.c.

References NULL, ref, and FSDeleteContainerGlobals::result.

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

Definition at line 741 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetParentRef ( const FSRef *  ref,
FSRef *  parentRef 
)

Definition at line 684 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

Referenced by updatethreadproc().

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

Definition at line 912 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

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

Definition at line 781 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

Referenced by isDirWritable().

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

Definition at line 275 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

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

Definition at line 307 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetVolMountInfo ( FSVolumeRefNum  volRefNum,
void volMountInfo 
)

Definition at line 2277 of file MoreFilesX.c.

References NULL.

OSErr FSGetVolMountInfoSize ( FSVolumeRefNum  volRefNum,
SInt16 *  size 
)

Definition at line 2252 of file MoreFilesX.c.

References NULL.

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

Definition at line 217 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSGetVRefNum ( const FSRef *  ref,
FSVolumeRefNum *  vRefNum 
)

Definition at line 249 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 1676 of file MoreFilesX.c.

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

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

Definition at line 424 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

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

Definition at line 452 of file MoreFilesX.c.

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

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

Definition at line 2328 of file MoreFilesX.c.

References NULL.

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

Definition at line 2357 of file MoreFilesX.c.

References NULL.

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

Definition at line 2458 of file MoreFilesX.c.

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

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

Definition at line 1357 of file MoreFilesX.c.

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

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

Definition at line 483 of file MoreFilesX.c.

References NULL, ref, and FSDeleteContainerGlobals::result.

OSErr FSRefMakeFSSpec ( const FSRef *  ref,
FSSpec *  spec 
)

Definition at line 403 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

Boolean FSRefValid ( const FSRef *  ref  ) 

Definition at line 676 of file MoreFilesX.c.

References NULL.

OSErr FSResolveFileIDRef ( FSVolumeRefNum  volRefNum,
SInt32  fileID,
FSRef *  ref 
)

Definition at line 2535 of file MoreFilesX.c.

References FSMakeFSRef(), and NULL.

OSErr FSRestoreDefault ( const FSRef *  oldDefault  ) 

Definition at line 2734 of file MoreFilesX.c.

References NULL.

OSErr FSSetDefault ( const FSRef *  newDefault,
FSRef *  oldDefault 
)

Definition at line 2687 of file MoreFilesX.c.

References FSMakeFSRef(), and NULL.

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

Definition at line 2210 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

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

Definition at line 1126 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr FSSetHasCustomIcon ( const FSRef *  ref  ) 

Definition at line 1297 of file MoreFilesX.c.

References FSChangeFinderFlags().

OSErr FSSetInvisible ( const FSRef *  ref  ) 

Definition at line 1249 of file MoreFilesX.c.

References FSChangeFinderFlags().

OSErr FSSetIsStationery ( const FSRef *  ref  ) 

Definition at line 1281 of file MoreFilesX.c.

References FSChangeFinderFlags().

OSErr FSSetNameLocked ( const FSRef *  ref  ) 

Definition at line 1265 of file MoreFilesX.c.

References FSChangeFinderFlags().

OSErr FSVolumeMount ( const void volMountInfo,
FSVolumeRefNum *  volRefNum 
)

Definition at line 2302 of file MoreFilesX.c.

References NULL.

Ptr GetTempBuffer ( ByteCount  buffReqSize,
ByteCount *  buffActSize 
)

Definition at line 2609 of file MoreFilesX.c.

References NULL.

OSErr HFSNameGetUnicodeName ( ConstStr31Param  hfsName,
TextEncoding  textEncodingHint,
HFSUniStr255 *  unicodeName 
)

Definition at line 594 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

OSErr MoreFiles_FSLockRange ( SInt16  refNum,
SInt32  rangeLength,
SInt32  rangeStart 
)

Definition at line 2120 of file MoreFilesX.c.

References FSDeleteContainerGlobals::result.

OSErr MoreFiles_FSUnlockRange ( SInt16  refNum,
SInt32  rangeLength,
SInt32  rangeStart 
)

Definition at line 2143 of file MoreFilesX.c.

References FSDeleteContainerGlobals::result.

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

Definition at line 512 of file MoreFilesX.c.

References NULL, and FSDeleteContainerGlobals::result.

Referenced by FSCopyFile(), and FSMoveRename().


Generated on Thu Jul 1 06:10:55 2010 for Second Life Viewer by  doxygen 1.4.7