|
From: <cre...@us...> - 2006-10-17 17:06:00
|
Revision: 1565
http://svn.sourceforge.net/frontierkernel/?rev=1565&view=rev
Author: creecode
Date: 2006-10-17 10:04:37 -0700 (Tue, 17 Oct 2006)
Log Message:
-----------
changed the ct(files/folders) members of typedef struct tyfileinfo to unsigned longs to accommodate the number of files that can be stored on modern file systems
Modified Paths:
--------------
Frontier/branches/FSRef_Migration/Common/headers/file.h
Modified: Frontier/branches/FSRef_Migration/Common/headers/file.h
===================================================================
--- Frontier/branches/FSRef_Migration/Common/headers/file.h 2006-10-15 02:03:33 UTC (rev 1564)
+++ Frontier/branches/FSRef_Migration/Common/headers/file.h 2006-10-17 17:04:37 UTC (rev 1565)
@@ -114,71 +114,72 @@
} tyfolderview;
-typedef struct tyfileinfo { /*flattens interface for getting file information*/
+typedef struct tyfileinfo { // flattens interface for getting file information
- OSErr errcode; /*if there was an error retrieving info about the file, this is the error number*/
+ OSErr errcode; // if there was an error retrieving info about the file, this is the error number
- short vnum; /*the volume that the file is on*/
+ short vnum; // the volume that the file is on
- long dirid; /*the folder that contains the file*/
+ long dirid; // the folder that contains the file
- boolean flfolder; /*true if it's a folder not a file*/
+ boolean flfolder; // true if it's a folder not a file
- boolean fllocked; /*true if the file is locked*/
+ boolean fllocked; // true if the file is locked
- boolean flbundle; /*true if the file has a BNDL resource*/
+ boolean flbundle; // true if the file has a BNDL resource
- boolean flbusy; /*true if the file is open in an application*/
+ boolean flbusy; // true if the file is open in an application
- boolean flalias; /*true if the file is an alias*/
+ boolean flalias; // true if the file is an alias
- boolean flinvisible; /*true if the file is invisible*/
+ boolean flinvisible; // true if the file is invisible
- boolean flvolume; /*true if it's a disk volume*/
+ boolean flvolume; // true if it's a disk volume
- boolean flejectable; /*true if it's an ejectable volume*/
+ boolean flejectable; // true if it's an ejectable volume
- boolean flstationery; /*true if the file is a stationery pad*/
+ boolean flstationery; // true if the file is a stationery pad
- boolean flshared; /*true if the file can the file be shared*/
+ boolean flshared; // true if the file can the file be shared
- boolean flnamelocked; /*true if the file's name is locked*/
+ boolean flnamelocked; // true if the file's name is locked
- boolean flcustomicon; /*true if the file has a custom icon*/
+ boolean flcustomicon; // true if the file has a custom icon
- boolean flhardwarelock; /*for volumes, if true, the device is readonly*/
+ boolean flhardwarelock; // for volumes, if true, the device is readonly
- boolean flremotevolume; /*for volumes, if true, it's a remote volume, accessed over the network*/
+ boolean flremotevolume; // for volumes, if true, it's a remote volume, accessed over the network
- boolean flsystem; /*Windows "system" file attribute*/
+ boolean flsystem; // Windows "system" file attribute
- boolean flarchive; /*Windows "srchive" file attribute*/
+ boolean flarchive; // Windows "srchive" file attribute
- boolean flcompressed; /*Windows "compressed" file attribute*/
+ boolean flcompressed; // Windows "compressed" file attribute
- boolean fltemp; /*Windows "temp" file attribute*/
+ boolean fltemp; // Windows "temp" file attribute
- OSType filecreator, filetype; /*the creator ID and file type*/
+ OSType filecreator, filetype; // the creator ID and file type
- long timecreated, timemodified, timeaccessed; /*the creation and modification date for the file*/
+ long timecreated, timemodified, timeaccessed; // the creation and modification date for the file
- unsigned long long sizedataforkhigh, sizedatafork, sizeresourcefork; /*the size of the file's two forks*/
+ unsigned long long sizedataforkhigh, sizedatafork, sizeresourcefork; // the size of the file's two forks
- short ixlabel; /*the file's label, as displayed in the Finder*/
+ short ixlabel; // the file's label, as displayed in the Finder
- Point iconposition; /*the position of the file's icon, when viewing by icon in Finder*/
+ Point iconposition; // the position of the file's icon, when viewing by icon in Finder
- unsigned short ctfiles; /*for folders, the number of files in the folder*/
+ unsigned long ctfiles; // for folders, the number of files in the folder
- unsigned short ctfolders; /*for volumes, the number of folders on the disk*/
+ unsigned long ctfolders; // for volumes, the number of folders on the disk
- tyfolderview folderview; /*for folders, view by name, by date, etc.*/
+ tyfolderview folderview; // for folders, view by name, by date, etc.
- unsigned long ctfreebytes; /*for volumes*/
+ unsigned long ctfreebytes; // for volumes
- unsigned long cttotalbytes; /*for volumes*/
+ unsigned long cttotalbytes; // for volumes
- unsigned long blocksize;
+ unsigned long blocksize; // for volumes
+
} tyfileinfo;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|