MoreFilesExtras.h File Reference

#include <Types.h>
#include <Files.h>
#include "Optimization.h"
#include "OptimizationEnd.h"

Include dependency graph for MoreFilesExtras.h:

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

Go to the source code of this file.

Data Structures

union  UniversalFMPB
struct  UGEntry
struct  MyAFPVolMountInfo
struct  MyAFPXVolMountInfo

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 isNetworkVolume(volParms)   ((volParms).vMServerAdr != 0)
#define hasLimitFCBs(volParms)   (((volParms).vMAttrib & (1L << bLimitFCBs)) != 0)
#define hasLocalWList(volParms)   (((volParms).vMAttrib & (1L << bLocalWList)) != 0)
#define hasNoMiniFndr(volParms)   (((volParms).vMAttrib & (1L << bNoMiniFndr)) != 0)
#define hasNoVNEdit(volParms)   (((volParms).vMAttrib & (1L << bNoVNEdit)) != 0)
#define hasNoLclSync(volParms)   (((volParms).vMAttrib & (1L << bNoLclSync)) != 0)
#define hasTrshOffLine(volParms)   (((volParms).vMAttrib & (1L << bTrshOffLine)) != 0)
#define hasNoSwitchTo(volParms)   (((volParms).vMAttrib & (1L << bNoSwitchTo)) != 0)
#define hasNoDeskItems(volParms)   (((volParms).vMAttrib & (1L << bNoDeskItems)) != 0)
#define hasNoBootBlks(volParms)   (((volParms).vMAttrib & (1L << bNoBootBlks)) != 0)
#define hasAccessCntl(volParms)   (((volParms).vMAttrib & (1L << bAccessCntl)) != 0)
#define hasNoSysDir(volParms)   (((volParms).vMAttrib & (1L << bNoSysDir)) != 0)
#define hasExtFSVol(volParms)   (((volParms).vMAttrib & (1L << bHasExtFSVol)) != 0)
#define hasOpenDeny(volParms)   (((volParms).vMAttrib & (1L << bHasOpenDeny)) != 0)
#define hasCopyFile(volParms)   (((volParms).vMAttrib & (1L << bHasCopyFile)) != 0)
#define hasMoveRename(volParms)   (((volParms).vMAttrib & (1L << bHasMoveRename)) != 0)
#define hasDesktopMgr(volParms)   (((volParms).vMAttrib & (1L << bHasDesktopMgr)) != 0)
#define hasShortName(volParms)   (((volParms).vMAttrib & (1L << bHasShortName)) != 0)
#define hasFolderLock(volParms)   (((volParms).vMAttrib & (1L << bHasFolderLock)) != 0)
#define hasPersonalAccessPrivileges(volParms)   (((volParms).vMAttrib & (1L << bHasPersonalAccessPrivileges)) != 0)
#define hasUserGroupList(volParms)   (((volParms).vMAttrib & (1L << bHasUserGroupList)) != 0)
#define hasCatSearch(volParms)   (((volParms).vMAttrib & (1L << bHasCatSearch)) != 0)
#define hasFileIDs(volParms)   (((volParms).vMAttrib & (1L << bHasFileIDs)) != 0)
#define hasBTreeMgr(volParms)   (((volParms).vMAttrib & (1L << bHasBTreeMgr)) != 0)
#define hasBlankAccessPrivileges(volParms)   (((volParms).vMAttrib & (1L << bHasBlankAccessPrivileges)) != 0)
#define supportsAsyncRequests(volParms)   (((volParms).vMAttrib & (1L << bSupportsAsyncRequests)) != 0)
#define supportsTrashVolumeCache(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 userIsOwner(ioACUser)   (((ioACUser) & kioACUserNotOwnerMask) == 0)
#define userHasFullAccess(ioACUser)   (((ioACUser) & (acUserAccessMask)) == acUserFull)
#define userHasDropBoxAccess(ioACUser)   (((ioACUser) & acUserAccessMask) == acUserDropBox)
#define userHasBulletinBoard(ioACUser)   (((ioACUser) & acUserAccessMask) == acUserBulletinBoard)
#define userHasNoAccess(ioACUser)   (((ioACUser) & acUserAccessMask) == acUserNone)

Typedefs

typedef UniversalFMPB UniversalFMPB
typedef UniversalFMPBUniversalFMPBPtr
typedef UniversalFMPB ** UniversalFMPBHandle
typedef UGEntry UGEntry
typedef UGEntryUGEntryPtr
typedef UGEntry ** UGEntryHandle
typedef unsigned char Str8 [9]
typedef MyAFPVolMountInfo MyAFPVolMountInfo
typedef MyAFPVolMountInfoMyAFPVolMountInfoPtr
typedef MyAFPVolMountInfo ** MyAFPVolMountInfoHandle
typedef MyAFPXVolMountInfo MyAFPXVolMountInfo
typedef MyAFPXVolMountInfoMyAFPXVolMountInfoPtr
typedef MyAFPXVolMountInfo ** MyAFPXVolMountInfoHandle

Enumerations

enum  {
  acUserAccessMask = (kioACUserNoSeeFolderMask + kioACUserNoSeeFilesMask + kioACUserNoMakeChangesMask), acUserFull = 0x00, acUserNone = acUserAccessMask, acUserDropBox = kioACUserNoSeeFolderMask + kioACUserNoSeeFilesMask,
  acUserBulletinBoard = kioACUserNoMakeChangesMask
}
enum  {
  dmNone = 0x0000, dmNoneDenyRd = fsRdDenyPerm, dmNoneDenyWr = fsWrDenyPerm, dmNoneDenyRdWr = (fsRdDenyPerm + fsWrDenyPerm),
  dmRd = fsRdPerm, dmRdDenyRd = (fsRdPerm + fsRdDenyPerm), dmRdDenyWr = (fsRdPerm + fsWrDenyPerm), dmRdDenyRdWr = (fsRdPerm + fsRdDenyPerm + fsWrDenyPerm),
  dmWr = fsWrPerm, dmWrDenyRd = (fsWrPerm + fsRdDenyPerm), dmWrDenyWr = (fsWrPerm + fsWrDenyPerm), dmWrDenyRdWr = (fsWrPerm + fsRdDenyPerm + fsWrDenyPerm),
  dmRdWr = fsRdWrPerm, dmRdWrDenyRd = (fsRdWrPerm + fsRdDenyPerm), dmRdWrDenyWr = (fsRdWrPerm + fsWrDenyPerm), dmRdWrDenyRdWr = (fsRdWrPerm + fsRdDenyPerm + fsWrDenyPerm)
}

Functions

pascal void TruncPString (StringPtr destination, ConstStr255Param source, short maxLength)
pascal Ptr GetTempBuffer (long buffReqSize, long *buffActSize)
pascal OSErr GetVolumeInfoNoName (ConstStr255Param pathname, short vRefNum, HParmBlkPtr pb)
pascal OSErr XGetVolumeInfoNoName (ConstStr255Param pathname, short vRefNum, XVolumeParamPtr pb)
pascal OSErr GetCatInfoNoName (short vRefNum, long dirID, ConstStr255Param name, CInfoPBPtr pb)
pascal OSErr DetermineVRefNum (ConstStr255Param pathname, short vRefNum, short *realVRefNum)
pascal OSErr HGetVInfo (short volReference, StringPtr volName, short *vRefNum, unsigned long *freeBytes, unsigned long *totalBytes)
pascal OSErr XGetVInfo (short volReference, StringPtr volName, short *vRefNum, UInt64 *freeBytes, UInt64 *totalBytes)
pascal OSErr CheckVolLock (ConstStr255Param pathname, short vRefNum)
pascal OSErr GetDriverName (short driverRefNum, Str255 driverName)
pascal OSErr FindDrive (ConstStr255Param pathname, short vRefNum, DrvQElPtr *driveQElementPtr)
pascal OSErr GetDiskBlocks (ConstStr255Param pathname, short vRefNum, unsigned long *numBlocks)
pascal OSErr GetVolState (ConstStr255Param pathname, short vRefNum, Boolean *volumeOnline, Boolean *volumeEjected, Boolean *driveEjectable, Boolean *driverWantsEject)
pascal OSErr GetVolFileSystemID (ConstStr255Param pathname, short vRefNum, short *fileSystemID)
pascal OSErr UnmountAndEject (ConstStr255Param pathname, short vRefNum)
pascal OSErr OnLine (FSSpecPtr volumes, short reqVolCount, short *actVolCount, short *volIndex)
pascal OSErr SetDefault (short newVRefNum, long newDirID, short *oldVRefNum, long *oldDirID)
pascal OSErr RestoreDefault (short oldVRefNum, long oldDirID)
pascal OSErr GetDInfo (short vRefNum, long dirID, ConstStr255Param name, DInfo *fndrInfo)
pascal OSErr FSpGetDInfo (const FSSpec *spec, DInfo *fndrInfo)
pascal OSErr SetDInfo (short vRefNum, long dirID, ConstStr255Param name, const DInfo *fndrInfo)
pascal OSErr FSpSetDInfo (const FSSpec *spec, const DInfo *fndrInfo)
pascal OSErr GetDirectoryID (short vRefNum, long dirID, ConstStr255Param name, long *theDirID, Boolean *isDirectory)
pascal OSErr FSpGetDirectoryID (const FSSpec *spec, long *theDirID, Boolean *isDirectory)
pascal OSErr GetDirName (short vRefNum, long dirID, Str31 name)
pascal OSErr GetIOACUser (short vRefNum, long dirID, ConstStr255Param name, SInt8 *ioACUser)
pascal OSErr FSpGetIOACUser (const FSSpec *spec, SInt8 *ioACUser)
pascal OSErr GetParentID (short vRefNum, long dirID, ConstStr255Param name, long *parID)
pascal OSErr GetFilenameFromPathname (ConstStr255Param pathname, Str255 filename)
pascal OSErr GetObjectLocation (short vRefNum, long dirID, ConstStr255Param pathname, short *realVRefNum, long *realParID, Str255 realName, Boolean *isDirectory)
pascal OSErr GetDirItems (short vRefNum, long dirID, ConstStr255Param name, Boolean getFiles, Boolean getDirectories, FSSpecPtr items, short reqItemCount, short *actItemCount, short *itemIndex)
pascal OSErr DeleteDirectoryContents (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr DeleteDirectory (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr CheckObjectLock (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpCheckObjectLock (const FSSpec *spec)
pascal OSErr GetFileSize (short vRefNum, long dirID, ConstStr255Param fileName, long *dataSize, long *rsrcSize)
pascal OSErr FSpGetFileSize (const FSSpec *spec, long *dataSize, long *rsrcSize)
pascal OSErr BumpDate (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpBumpDate (const FSSpec *spec)
pascal OSErr ChangeCreatorType (short vRefNum, long dirID, ConstStr255Param name, OSType creator, OSType fileType)
pascal OSErr FSpChangeCreatorType (const FSSpec *spec, OSType creator, OSType fileType)
pascal OSErr ChangeFDFlags (short vRefNum, long dirID, ConstStr255Param name, Boolean setBits, unsigned short flagBits)
pascal OSErr FSpChangeFDFlags (const FSSpec *spec, Boolean setBits, unsigned short flagBits)
pascal OSErr SetIsInvisible (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpSetIsInvisible (const FSSpec *spec)
pascal OSErr ClearIsInvisible (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpClearIsInvisible (const FSSpec *spec)
pascal OSErr SetNameLocked (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpSetNameLocked (const FSSpec *spec)
pascal OSErr ClearNameLocked (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpClearNameLocked (const FSSpec *spec)
pascal OSErr SetIsStationery (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpSetIsStationery (const FSSpec *spec)
pascal OSErr ClearIsStationery (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpClearIsStationery (const FSSpec *spec)
pascal OSErr SetHasCustomIcon (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpSetHasCustomIcon (const FSSpec *spec)
pascal OSErr ClearHasCustomIcon (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpClearHasCustomIcon (const FSSpec *spec)
pascal OSErr ClearHasBeenInited (short vRefNum, long dirID, ConstStr255Param name)
pascal OSErr FSpClearHasBeenInited (const FSSpec *spec)
pascal OSErr CopyFileMgrAttributes (short srcVRefNum, long srcDirID, ConstStr255Param srcName, short dstVRefNum, long dstDirID, ConstStr255Param dstName, Boolean copyLockBit)
pascal OSErr FSpCopyFileMgrAttributes (const FSSpec *srcSpec, const FSSpec *dstSpec, Boolean copyLockBit)
pascal OSErr HOpenAware (short vRefNum, long dirID, ConstStr255Param fileName, short denyModes, short *refNum)
pascal OSErr FSpOpenAware (const FSSpec *spec, short denyModes, short *refNum)
pascal OSErr HOpenRFAware (short vRefNum, long dirID, ConstStr255Param fileName, short denyModes, short *refNum)
pascal OSErr FSpOpenRFAware (const FSSpec *spec, short denyModes, short *refNum)
pascal OSErr FSReadNoCache (short refNum, long *count, void *buffPtr)
pascal OSErr FSWriteNoCache (short refNum, long *count, const void *buffPtr)
pascal OSErr FSWriteVerify (short refNum, long *count, const void *buffPtr)
pascal OSErr CopyFork (short srcRefNum, short dstRefNum, void *copyBufferPtr, long copyBufferSize)
pascal OSErr GetFileLocation (short refNum, short *vRefNum, long *dirID, StringPtr fileName)
pascal OSErr FSpGetFileLocation (short refNum, FSSpec *spec)
pascal OSErr CopyDirectoryAccess (short srcVRefNum, long srcDirID, ConstStr255Param srcName, short dstVRefNum, long dstDirID, ConstStr255Param dstName)
pascal OSErr FSpCopyDirectoryAccess (const FSSpec *srcSpec, const FSSpec *dstSpec)
pascal OSErr HMoveRenameCompat (short vRefNum, long srcDirID, ConstStr255Param srcName, long dstDirID, ConstStr255Param dstpathName, ConstStr255Param copyName)
pascal OSErr FSpMoveRenameCompat (const FSSpec *srcSpec, const FSSpec *dstSpec, ConstStr255Param copyName)
pascal OSErr BuildAFPVolMountInfo (short flags, char nbpInterval, char nbpCount, short uamType, Str32 zoneName, Str31 serverName, Str27 volName, Str31 userName, Str8 userPassword, Str8 volPassword, AFPVolMountInfoPtr *afpInfoPtr)
pascal OSErr RetrieveAFPVolMountInfo (AFPVolMountInfoPtr afpInfoPtr, short *flags, short *uamType, StringPtr zoneName, StringPtr serverName, StringPtr volName, StringPtr userName)
pascal OSErr BuildAFPXVolMountInfo (short flags, char nbpInterval, char nbpCount, short uamType, Str32 zoneName, Str31 serverName, Str27 volName, Str31 userName, Str8 userPassword, Str8 volPassword, Str32 uamName, unsigned long alternateAddressLength, void *alternateAddress, AFPXVolMountInfoPtr *afpXInfoPtr)
pascal OSErr RetrieveAFPXVolMountInfo (AFPXVolMountInfoPtr afpXInfoPtr, short *flags, short *uamType, StringPtr zoneName, StringPtr serverName, StringPtr volName, StringPtr userName, StringPtr uamName, unsigned long *alternateAddressLength, AFPAlternateAddress **alternateAddress)
pascal OSErr GetUGEntries (short objType, UGEntryPtr entries, long reqEntryCount, long *actEntryCount, long *objID)


Define Documentation

#define GetVolParmsInfoAttrib volParms   )     ((volParms).vMAttrib)
 

Definition at line 46 of file MoreFilesExtras.h.

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

Definition at line 58 of file MoreFilesExtras.h.

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

Definition at line 55 of file MoreFilesExtras.h.

#define GetVolParmsInfoLocalHand volParms   )     ((volParms).vMLocalHand)
 

Definition at line 48 of file MoreFilesExtras.h.

#define GetVolParmsInfoServerAdr volParms   )     ((volParms).vMServerAdr)
 

Definition at line 50 of file MoreFilesExtras.h.

#define GetVolParmsInfoVersion volParms   )     ((volParms).vMVersion)
 

Definition at line 44 of file MoreFilesExtras.h.

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

Definition at line 53 of file MoreFilesExtras.h.

#define hasAccessCntl volParms   )     (((volParms).vMAttrib & (1L << bAccessCntl)) != 0)
 

Definition at line 72 of file MoreFilesExtras.h.

Referenced by CopyDirectoryAccess().

#define hasBlankAccessPrivileges volParms   )     (((volParms).vMAttrib & (1L << bHasBlankAccessPrivileges)) != 0)
 

Definition at line 87 of file MoreFilesExtras.h.

#define hasBTreeMgr volParms   )     (((volParms).vMAttrib & (1L << bHasBTreeMgr)) != 0)
 

Definition at line 86 of file MoreFilesExtras.h.

#define hasCatSearch volParms   )     (((volParms).vMAttrib & (1L << bHasCatSearch)) != 0)
 

Definition at line 84 of file MoreFilesExtras.h.

#define hasCopyFile volParms   )     (((volParms).vMAttrib & (1L << bHasCopyFile)) != 0)
 

Definition at line 76 of file MoreFilesExtras.h.

#define hasDesktopMgr volParms   )     (((volParms).vMAttrib & (1L << bHasDesktopMgr)) != 0)
 

Definition at line 78 of file MoreFilesExtras.h.

#define hasExtFSVol volParms   )     (((volParms).vMAttrib & (1L << bHasExtFSVol)) != 0)
 

Definition at line 74 of file MoreFilesExtras.h.

#define hasFileIDs volParms   )     (((volParms).vMAttrib & (1L << bHasFileIDs)) != 0)
 

Definition at line 85 of file MoreFilesExtras.h.

#define hasFolderLock volParms   )     (((volParms).vMAttrib & (1L << bHasFolderLock)) != 0)
 

Definition at line 80 of file MoreFilesExtras.h.

#define hasLimitFCBs volParms   )     (((volParms).vMAttrib & (1L << bLimitFCBs)) != 0)
 

Definition at line 63 of file MoreFilesExtras.h.

#define hasLocalWList volParms   )     (((volParms).vMAttrib & (1L << bLocalWList)) != 0)
 

Definition at line 64 of file MoreFilesExtras.h.

#define hasMoveRename volParms   )     (((volParms).vMAttrib & (1L << bHasMoveRename)) != 0)
 

Definition at line 77 of file MoreFilesExtras.h.

Referenced by HMoveRenameCompat().

#define hasNoBootBlks volParms   )     (((volParms).vMAttrib & (1L << bNoBootBlks)) != 0)
 

Definition at line 71 of file MoreFilesExtras.h.

#define hasNoDeskItems volParms   )     (((volParms).vMAttrib & (1L << bNoDeskItems)) != 0)
 

Definition at line 70 of file MoreFilesExtras.h.

#define hasNoLclSync volParms   )     (((volParms).vMAttrib & (1L << bNoLclSync)) != 0)
 

Definition at line 67 of file MoreFilesExtras.h.

#define hasNoMiniFndr volParms   )     (((volParms).vMAttrib & (1L << bNoMiniFndr)) != 0)
 

Definition at line 65 of file MoreFilesExtras.h.

#define hasNoSwitchTo volParms   )     (((volParms).vMAttrib & (1L << bNoSwitchTo)) != 0)
 

Definition at line 69 of file MoreFilesExtras.h.

#define hasNoSysDir volParms   )     (((volParms).vMAttrib & (1L << bNoSysDir)) != 0)
 

Definition at line 73 of file MoreFilesExtras.h.

#define hasNoVNEdit volParms   )     (((volParms).vMAttrib & (1L << bNoVNEdit)) != 0)
 

Definition at line 66 of file MoreFilesExtras.h.

#define hasOpenDeny volParms   )     (((volParms).vMAttrib & (1L << bHasOpenDeny)) != 0)
 

Definition at line 75 of file MoreFilesExtras.h.

Referenced by HOpenAware(), and HOpenRFAware().

#define hasPersonalAccessPrivileges volParms   )     (((volParms).vMAttrib & (1L << bHasPersonalAccessPrivileges)) != 0)
 

Definition at line 81 of file MoreFilesExtras.h.

#define hasShortName volParms   )     (((volParms).vMAttrib & (1L << bHasShortName)) != 0)
 

Definition at line 79 of file MoreFilesExtras.h.

#define hasTrshOffLine volParms   )     (((volParms).vMAttrib & (1L << bTrshOffLine)) != 0)
 

Definition at line 68 of file MoreFilesExtras.h.

#define hasUserGroupList volParms   )     (((volParms).vMAttrib & (1L << bHasUserGroupList)) != 0)
 

Definition at line 83 of file MoreFilesExtras.h.

#define isNetworkVolume volParms   )     ((volParms).vMServerAdr != 0)
 

Definition at line 62 of file MoreFilesExtras.h.

#define supportsAsyncRequests volParms   )     (((volParms).vMAttrib & (1L << bSupportsAsyncRequests)) != 0)
 

Definition at line 89 of file MoreFilesExtras.h.

#define supportsTrashVolumeCache volParms   )     (((volParms).vMAttrib & (1L << bSupportsTrashVolumeCache)) != 0)
 

Definition at line 91 of file MoreFilesExtras.h.

#define userHasBulletinBoard ioACUser   )     (((ioACUser) & acUserAccessMask) == acUserBulletinBoard)
 

Definition at line 151 of file MoreFilesExtras.h.

#define userHasDropBoxAccess ioACUser   )     (((ioACUser) & acUserAccessMask) == acUserDropBox)
 

Definition at line 149 of file MoreFilesExtras.h.

#define userHasFullAccess ioACUser   )     (((ioACUser) & (acUserAccessMask)) == acUserFull)
 

Definition at line 147 of file MoreFilesExtras.h.

#define userHasNoAccess ioACUser   )     (((ioACUser) & acUserAccessMask) == acUserNone)
 

Definition at line 153 of file MoreFilesExtras.h.

#define userIsOwner ioACUser   )     (((ioACUser) & kioACUserNotOwnerMask) == 0)
 

Definition at line 145 of file MoreFilesExtras.h.

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

Definition at line 95 of file MoreFilesExtras.h.

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

Definition at line 113 of file MoreFilesExtras.h.

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

Definition at line 103 of file MoreFilesExtras.h.

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

Definition at line 99 of file MoreFilesExtras.h.

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

Definition at line 101 of file MoreFilesExtras.h.

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

Definition at line 97 of file MoreFilesExtras.h.

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

Definition at line 105 of file MoreFilesExtras.h.

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

Definition at line 107 of file MoreFilesExtras.h.

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

Definition at line 109 of file MoreFilesExtras.h.

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

Definition at line 111 of file MoreFilesExtras.h.


Typedef Documentation

typedef struct MyAFPVolMountInfo MyAFPVolMountInfo
 

Definition at line 256 of file MoreFilesExtras.h.

typedef MyAFPVolMountInfo ** MyAFPVolMountInfoHandle
 

Definition at line 257 of file MoreFilesExtras.h.

typedef MyAFPVolMountInfo* MyAFPVolMountInfoPtr
 

Definition at line 257 of file MoreFilesExtras.h.

typedef struct MyAFPXVolMountInfo MyAFPXVolMountInfo
 

Definition at line 290 of file MoreFilesExtras.h.

typedef MyAFPXVolMountInfo ** MyAFPXVolMountInfoHandle
 

Definition at line 291 of file MoreFilesExtras.h.

typedef MyAFPXVolMountInfo* MyAFPXVolMountInfoPtr
 

Definition at line 291 of file MoreFilesExtras.h.

typedef unsigned char Str8[9]
 

Definition at line 224 of file MoreFilesExtras.h.

typedef struct UGEntry UGEntry
 

Definition at line 220 of file MoreFilesExtras.h.

typedef UGEntry ** UGEntryHandle
 

Definition at line 221 of file MoreFilesExtras.h.

typedef UGEntry* UGEntryPtr
 

Definition at line 221 of file MoreFilesExtras.h.

typedef union UniversalFMPB UniversalFMPB
 

Definition at line 206 of file MoreFilesExtras.h.

typedef UniversalFMPB ** UniversalFMPBHandle
 

Definition at line 207 of file MoreFilesExtras.h.

typedef UniversalFMPB* UniversalFMPBPtr
 

Definition at line 207 of file MoreFilesExtras.h.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
acUserAccessMask 
acUserFull 
acUserNone 
acUserDropBox 
acUserBulletinBoard 

Definition at line 132 of file MoreFilesExtras.h.

anonymous enum
 

Enumerator:
dmNone 
dmNoneDenyRd 
dmNoneDenyWr 
dmNoneDenyRdWr 
dmRd 
dmRdDenyRd 
dmRdDenyWr 
dmRdDenyRdWr 
dmWr 
dmWrDenyRd 
dmWrDenyWr 
dmWrDenyRdWr 
dmRdWr 
dmRdWrDenyRd 
dmRdWrDenyWr 
dmRdWrDenyRdWr 

Definition at line 164 of file MoreFilesExtras.h.


Function Documentation

pascal OSErr BuildAFPVolMountInfo short  flags,
char  nbpInterval,
char  nbpCount,
short  uamType,
Str32  zoneName,
Str31  serverName,
Str27  volName,
Str31  userName,
Str8  userPassword,
Str8  volPassword,
AFPVolMountInfoPtr *  afpInfoPtr
 

pascal OSErr BuildAFPXVolMountInfo short  flags,
char  nbpInterval,
char  nbpCount,
short  uamType,
Str32  zoneName,
Str31  serverName,
Str27  volName,
Str31  userName,
Str8  userPassword,
Str8  volPassword,
Str32  uamName,
unsigned long  alternateAddressLength,
void *  alternateAddress,
AFPXVolMountInfoPtr *  afpXInfoPtr
 

pascal OSErr BumpDate short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 1927 of file MoreFilesExtras.c.

References error, noErr, and NULL.

Referenced by ChangeCreatorType(), ChangeFDFlags(), and FSpBumpDate().

pascal OSErr ChangeCreatorType short  vRefNum,
long  dirID,
ConstStr255Param  name,
OSType  creator,
OSType  fileType
 

Definition at line 1981 of file MoreFilesExtras.c.

References BumpDate(), DetermineVRefNum(), error, noErr, and NULL.

Referenced by FSpChangeCreatorType().

Here is the call graph for this function:

pascal OSErr ChangeFDFlags short  vRefNum,
long  dirID,
ConstStr255Param  name,
Boolean  setBits,
unsigned short  flagBits
 

Definition at line 2051 of file MoreFilesExtras.c.

References BumpDate(), DetermineVRefNum(), error, noErr, and NULL.

Referenced by ClearHasBeenInited(), ClearHasCustomIcon(), ClearIsInvisible(), ClearIsStationery(), ClearNameLocked(), FSpChangeFDFlags(), FSpClearHasBeenInited(), FSpClearHasCustomIcon(), FSpClearIsInvisible(), FSpClearIsStationery(), FSpClearNameLocked(), FSpSetHasCustomIcon(), FSpSetIsInvisible(), FSpSetIsStationery(), FSpSetNameLocked(), SetHasCustomIcon(), SetIsInvisible(), SetIsStationery(), and SetNameLocked().

Here is the call graph for this function:

pascal OSErr CheckObjectLock short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 1863 of file MoreFilesExtras.c.

References error, GetCatInfoNoName(), and noErr.

Referenced by FSpCheckObjectLock().

Here is the call graph for this function:

pascal OSErr CheckVolLock ConstStr255Param  pathname,
short  vRefNum
 

Definition at line 571 of file MoreFilesExtras.c.

References error, GetVolumeInfoNoName(), and noErr.

Referenced by HOpenAware(), and HOpenRFAware().

Here is the call graph for this function:

pascal OSErr ClearHasBeenInited short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 2276 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr ClearHasCustomIcon short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 2258 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr ClearIsInvisible short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 2150 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr ClearIsStationery short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 2222 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr ClearNameLocked short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 2186 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr CopyDirectoryAccess short  srcVRefNum,
long  srcDirID,
ConstStr255Param  srcName,
short  dstVRefNum,
long  dstDirID,
ConstStr255Param  dstName
 

Definition at line 2826 of file MoreFilesExtras.c.

References error, hasAccessCntl, HGetDirAccess(), HGetVolParms(), HSetDirAccess(), and noErr.

Referenced by FSpCopyDirectoryAccess().

Here is the call graph for this function:

pascal OSErr CopyFileMgrAttributes short  srcVRefNum,
long  srcDirID,
ConstStr255Param  srcName,
short  dstVRefNum,
long  dstDirID,
ConstStr255Param  dstName,
Boolean  copyLockBit
 

Definition at line 2294 of file MoreFilesExtras.c.

References UniversalFMPB::ciPB, error, UniversalFMPB::hPB, noErr, and NULL.

Referenced by FSpCopyFileMgrAttributes().

pascal OSErr CopyFork short  srcRefNum,
short  dstRefNum,
void *  copyBufferPtr,
long  copyBufferSize
 

Definition at line 2719 of file MoreFilesExtras.c.

References noErr, and NULL.

pascal OSErr DeleteDirectory short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 1840 of file MoreFilesExtras.c.

References DeleteDirectoryContents(), error, and noErr.

Here is the call graph for this function:

pascal OSErr DeleteDirectoryContents short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 1803 of file MoreFilesExtras.c.

References UniversalFMPB::ciPB, DeleteLevel(), DetermineVRefNum(), DeleteEnumGlobals::error, error, GetDirectoryID(), DeleteEnumGlobals::myPB, and noErr.

Referenced by DeleteDirectory().

Here is the call graph for this function:

pascal OSErr DetermineVRefNum ConstStr255Param  pathname,
short  vRefNum,
short realVRefNum
 

Definition at line 408 of file MoreFilesExtras.c.

References error, GetVolumeInfoNoName(), and noErr.

Referenced by ChangeCreatorType(), ChangeFDFlags(), DeleteDirectoryContents(), GetDirItems(), GetObjectLocation(), and GetParentID().

Here is the call graph for this function:

pascal OSErr FindDrive ConstStr255Param  pathname,
short  vRefNum,
DrvQElPtr *  driveQElementPtr
 

Definition at line 641 of file MoreFilesExtras.c.

References GetVolumeInfoNoName(), noErr, NULL, and short.

Referenced by GetDiskBlocks().

Here is the call graph for this function:

pascal OSErr FSpBumpDate const FSSpec spec  ) 
 

Definition at line 1974 of file MoreFilesExtras.c.

References BumpDate().

Here is the call graph for this function:

pascal OSErr FSpChangeCreatorType const FSSpec spec,
OSType  creator,
OSType  fileType
 

Definition at line 2042 of file MoreFilesExtras.c.

References ChangeCreatorType().

Here is the call graph for this function:

pascal OSErr FSpChangeFDFlags const FSSpec spec,
Boolean  setBits,
unsigned short  flagBits
 

Definition at line 2123 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr FSpCheckObjectLock const FSSpec spec  ) 
 

Definition at line 1885 of file MoreFilesExtras.c.

References CheckObjectLock().

Here is the call graph for this function:

pascal OSErr FSpClearHasBeenInited const FSSpec spec  ) 
 

Definition at line 2286 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr FSpClearHasCustomIcon const FSSpec spec  ) 
 

Definition at line 2268 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr FSpClearIsInvisible const FSSpec spec  ) 
 

Definition at line 2160 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr FSpClearIsStationery const FSSpec spec  ) 
 

Definition at line 2232 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr FSpClearNameLocked const FSSpec spec  ) 
 

Definition at line 2196 of file MoreFilesExtras.c.

References ChangeFDFlags().

Referenced by closefile(), and deletefile().

Here is the call graph for this function:

pascal OSErr FSpCopyDirectoryAccess const FSSpec srcSpec,
const FSSpec dstSpec
 

Definition at line 2883 of file MoreFilesExtras.c.

References CopyDirectoryAccess().

Here is the call graph for this function:

pascal OSErr FSpCopyFileMgrAttributes const FSSpec srcSpec,
const FSSpec dstSpec,
Boolean  copyLockBit
 

Definition at line 2354 of file MoreFilesExtras.c.

References CopyFileMgrAttributes().

Here is the call graph for this function:

pascal OSErr FSpGetDInfo const FSSpec spec,
DInfo *  fndrInfo
 

Definition at line 1187 of file MoreFilesExtras.c.

References GetDInfo().

Here is the call graph for this function:

pascal OSErr FSpGetDirectoryID const FSSpec spec,
long theDirID,
Boolean isDirectory
 

Definition at line 1283 of file MoreFilesExtras.c.

References GetDirectoryID().

Here is the call graph for this function:

pascal OSErr FSpGetFileLocation short  refNum,
FSSpec spec
 

Definition at line 2818 of file MoreFilesExtras.c.

References GetFileLocation().

Referenced by closefile().

Here is the call graph for this function:

pascal OSErr FSpGetFileSize const FSSpec spec,
long dataSize,
long rsrcSize
 

Definition at line 1918 of file MoreFilesExtras.c.

References GetFileSize().

Here is the call graph for this function:

pascal OSErr FSpGetIOACUser const FSSpec spec,
SInt8 *  ioACUser
 

Definition at line 1351 of file MoreFilesExtras.c.

References GetIOACUser().

Here is the call graph for this function:

pascal OSErr FSpMoveRenameCompat const FSSpec srcSpec,
const FSSpec dstSpec,
ConstStr255Param  copyName
 

Definition at line 3002 of file MoreFilesExtras.c.

References HMoveRenameCompat().

Here is the call graph for this function:

pascal OSErr FSpOpenAware const FSSpec spec,
short  denyModes,
short refNum
 

Definition at line 2437 of file MoreFilesExtras.c.

References HOpenAware().

Here is the call graph for this function:

pascal OSErr FSpOpenRFAware const FSSpec spec,
short  denyModes,
short refNum
 

Definition at line 2517 of file MoreFilesExtras.c.

References HOpenRFAware().

Here is the call graph for this function:

pascal OSErr FSpSetDInfo const FSSpec spec,
const DInfo *  fndrInfo
 

Definition at line 1247 of file MoreFilesExtras.c.

References SetDInfo().

Here is the call graph for this function:

pascal OSErr FSpSetHasCustomIcon const FSSpec spec  ) 
 

Definition at line 2250 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr FSpSetIsInvisible const FSSpec spec  ) 
 

Definition at line 2142 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr FSpSetIsStationery const FSSpec spec  ) 
 

Definition at line 2214 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr FSpSetNameLocked const FSSpec spec  ) 
 

Definition at line 2178 of file MoreFilesExtras.c.

References ChangeFDFlags().

Referenced by fileopenorcreate(), and openfile().

Here is the call graph for this function:

pascal OSErr FSReadNoCache short  refNum,
long count,
void *  buffPtr
 

Definition at line 2526 of file MoreFilesExtras.c.

References error.

pascal OSErr FSWriteNoCache short  refNum,
long count,
const void *  buffPtr
 

Definition at line 2545 of file MoreFilesExtras.c.

References error.

pascal OSErr FSWriteVerify short  refNum,
long count,
const void *  buffPtr
 

Definition at line 2622 of file MoreFilesExtras.c.

References EqualMemory(), FSReadVerify(), GetTempBuffer(), noErr, NULL, and position.

Here is the call graph for this function:

pascal OSErr GetCatInfoNoName short  vRefNum,
long  dirID,
ConstStr255Param  name,
CInfoPBPtr  pb
 

Definition at line 379 of file MoreFilesExtras.c.

References error, and NULL.

Referenced by CheckObjectLock(), GetDInfo(), GetDirectoryID(), and GetIOACUser().

pascal OSErr GetDInfo short  vRefNum,
long  dirID,
ConstStr255Param  name,
DInfo *  fndrInfo
 

Definition at line 1159 of file MoreFilesExtras.c.

References error, GetCatInfoNoName(), and noErr.

Referenced by FSpGetDInfo().

Here is the call graph for this function:

pascal OSErr GetDirectoryID short  vRefNum,
long  dirID,
ConstStr255Param  name,
long theDirID,
Boolean isDirectory
 

Definition at line 1255 of file MoreFilesExtras.c.

References error, GetCatInfoNoName(), and noErr.

Referenced by DeleteDirectoryContents(), FSpGetDirectoryID(), and GetDirItems().

Here is the call graph for this function:

pascal OSErr GetDirItems short  vRefNum,
long  dirID,
ConstStr255Param  name,
Boolean  getFiles,
Boolean  getDirectories,
FSSpecPtr  items,
short  reqItemCount,
short actItemCount,
short itemIndex
 

Definition at line 1670 of file MoreFilesExtras.c.

References DetermineVRefNum(), error, GetDirectoryID(), and noErr.

Here is the call graph for this function:

pascal OSErr GetDirName short  vRefNum,
long  dirID,
Str31  name
 

Definition at line 1293 of file MoreFilesExtras.c.

References error, and NULL.

pascal OSErr GetDiskBlocks ConstStr255Param  pathname,
short  vRefNum,
unsigned long numBlocks
 

Definition at line 707 of file MoreFilesExtras.c.

References FindDrive(), and noErr.

Here is the call graph for this function:

pascal OSErr GetDriverName short  driverRefNum,
Str255  driverName
 

Definition at line 607 of file MoreFilesExtras.c.

References noErr, and NULL.

pascal OSErr GetFileLocation short  refNum,
short vRefNum,
long dirID,
StringPtr  fileName
 

Definition at line 2795 of file MoreFilesExtras.c.

References error, and noErr.

Referenced by FSpGetFileLocation().

pascal OSErr GetFilenameFromPathname ConstStr255Param  pathname,
Str255  filename
 

Definition at line 1445 of file MoreFilesExtras.c.

References error, noErr, and NULL.

Referenced by GetObjectLocation().

pascal OSErr GetFileSize short  vRefNum,
long  dirID,
ConstStr255Param  fileName,
long dataSize,
long rsrcSize
 

Definition at line 1892 of file MoreFilesExtras.c.

References error, and noErr.

Referenced by filegetsize(), and FSpGetFileSize().

pascal OSErr GetIOACUser short  vRefNum,
long  dirID,
ConstStr255Param  name,
SInt8 *  ioACUser
 

Definition at line 1318 of file MoreFilesExtras.c.

References error, GetCatInfoNoName(), and noErr.

Referenced by FSpGetIOACUser().

Here is the call graph for this function:

pascal OSErr GetObjectLocation short  vRefNum,
long  dirID,
ConstStr255Param  pathname,
short realVRefNum,
long realParID,
Str255  realName,
Boolean isDirectory
 

Definition at line 1521 of file MoreFilesExtras.c.

References DetermineVRefNum(), error, GetFilenameFromPathname(), noErr, and NULL.

Referenced by HMoveRenameCompat().

Here is the call graph for this function:

pascal OSErr GetParentID short  vRefNum,
long  dirID,
ConstStr255Param  name,
long parID
 

Definition at line 1359 of file MoreFilesExtras.c.

References DetermineVRefNum(), error, noErr, and NULL.

Here is the call graph for this function:

pascal Ptr GetTempBuffer long  buffReqSize,
long buffActSize
 

Definition at line 208 of file MoreFilesExtras.c.

References FreeMem(), and NULL.

Here is the call graph for this function:

pascal OSErr GetUGEntries short  objType,
UGEntryPtr  entries,
long  reqEntryCount,
long actEntryCount,
long objID
 

Definition at line 3310 of file MoreFilesExtras.c.

References error, UGEntry::name, noErr, UGEntry::objID, and UGEntry::objType.

pascal OSErr GetVolFileSystemID ConstStr255Param  pathname,
short  vRefNum,
short fileSystemID
 

Definition at line 949 of file MoreFilesExtras.c.

References error, GetVolumeInfoNoName(), and noErr.

Here is the call graph for this function:

pascal OSErr GetVolState ConstStr255Param  pathname,
short  vRefNum,
Boolean volumeOnline,
Boolean volumeEjected,
Boolean driveEjectable,
Boolean driverWantsEject
 

Definition at line 845 of file MoreFilesExtras.c.

References error, GetVolumeInfoNoName(), noErr, NULL, and short.

Here is the call graph for this function:

pascal OSErr GetVolumeInfoNoName ConstStr255Param  pathname,
short  vRefNum,
HParmBlkPtr  pb
 

Definition at line 279 of file MoreFilesExtras.c.

References error, and NULL.

Referenced by CheckVolLock(), DetermineVRefNum(), FindDrive(), GetVolFileSystemID(), GetVolState(), and UnmountAndEject().

pascal OSErr HGetVInfo short  volReference,
StringPtr  volName,
short vRefNum,
unsigned long freeBytes,
unsigned long totalBytes
 

Definition at line 425 of file MoreFilesExtras.c.

References noErr, and XGetVInfo().

Here is the call graph for this function:

pascal OSErr HMoveRenameCompat short  vRefNum,
long  srcDirID,
ConstStr255Param  srcName,
long  dstDirID,
ConstStr255Param  dstpathName,
ConstStr255Param  copyName
 

Definition at line 2892 of file MoreFilesExtras.c.

References error, GetObjectLocation(), hasMoveRename, HGetVolParms(), HMoveRename(), noErr, and NULL.

Referenced by FSpMoveRenameCompat().

Here is the call graph for this function:

pascal OSErr HOpenAware short  vRefNum,
long  dirID,
ConstStr255Param  fileName,
short  denyModes,
short refNum
 

Definition at line 2365 of file MoreFilesExtras.c.

References CheckVolLock(), dmRdWr, dmWr, error, hasOpenDeny, HGetVolParms(), noErr, and NULL.

Referenced by FSpOpenAware().

Here is the call graph for this function:

pascal OSErr HOpenRFAware short  vRefNum,
long  dirID,
ConstStr255Param  fileName,
short  denyModes,
short refNum
 

Definition at line 2446 of file MoreFilesExtras.c.

References CheckVolLock(), dmRdWr, dmWr, error, hasOpenDeny, HGetVolParms(), noErr, and NULL.

Referenced by FSpOpenRFAware().

Here is the call graph for this function:

pascal OSErr OnLine FSSpecPtr  volumes,
short  reqVolCount,
short actVolCount,
short volIndex
 

Definition at line 1063 of file MoreFilesExtras.c.

References error, and noErr.

pascal OSErr RestoreDefault short  oldVRefNum,
long  oldDirID
 

Definition at line 1119 of file MoreFilesExtras.c.

References error, noErr, and NULL.

pascal OSErr RetrieveAFPVolMountInfo AFPVolMountInfoPtr  afpInfoPtr,
short flags,
short uamType,
StringPtr  zoneName,
StringPtr  serverName,
StringPtr  volName,
StringPtr  userName
 

Definition at line 3069 of file MoreFilesExtras.c.

References error, and noErr.

pascal OSErr RetrieveAFPXVolMountInfo AFPXVolMountInfoPtr  afpXInfoPtr,
short flags,
short uamType,
StringPtr  zoneName,
StringPtr  serverName,
StringPtr  volName,
StringPtr  userName,
StringPtr  uamName,
unsigned long alternateAddressLength,
AFPAlternateAddress **  alternateAddress
 

Definition at line 3201 of file MoreFilesExtras.c.

References error, noErr, and NULL.

pascal OSErr SetDefault short  newVRefNum,
long  newDirID,
short oldVRefNum,
long oldDirID
 

Definition at line 1099 of file MoreFilesExtras.c.

References error, noErr, and NULL.

pascal OSErr SetDInfo short  vRefNum,
long  dirID,
ConstStr255Param  name,
const DInfo *  fndrInfo
 

Definition at line 1195 of file MoreFilesExtras.c.

References error, noErr, and NULL.

Referenced by FSpSetDInfo().

pascal OSErr SetHasCustomIcon short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 2240 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr SetIsInvisible short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 2132 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr SetIsStationery short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 2204 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal OSErr SetNameLocked short  vRefNum,
long  dirID,
ConstStr255Param  name
 

Definition at line 2168 of file MoreFilesExtras.c.

References ChangeFDFlags().

Here is the call graph for this function:

pascal void TruncPString StringPtr  destination,
ConstStr255Param  source,
short  maxLength
 

Definition at line 167 of file MoreFilesExtras.c.

References NULL.

pascal OSErr UnmountAndEject ConstStr255Param  pathname,
short  vRefNum
 

Definition at line 974 of file MoreFilesExtras.c.

References error, GetVolumeInfoNoName(), noErr, NULL, and short.

Here is the call graph for this function:

pascal OSErr XGetVInfo short  volReference,
StringPtr  volName,
short vRefNum,
UInt64 *  freeBytes,
UInt64 *  totalBytes
 

Definition at line 466 of file MoreFilesExtras.c.

References CallPBXGetVolInfoSync, noErr, and NULL.

Referenced by HGetVInfo(), and langgetextendedvolumeinfo().

pascal OSErr XGetVolumeInfoNoName ConstStr255Param  pathname,
short  vRefNum,
XVolumeParamPtr  pb
 

Definition at line 321 of file MoreFilesExtras.c.

References CallPBXGetVolInfoSync, error, noErr, and NULL.


Generated on Thu Jun 8 00:39:36 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6