ESS_DBFILEINFO_T

Contains information on an index or data file retrieved by EssListDbFiles.

typedef struct ess_dbfileinfo_t
{
   ESS_APPNAME_T  AppName;
   ESS_DBNAME_T   DbName;
   ESS_FILENAME_T FilePath;
   ESS_SIZE_T     FileSize;
   ESS_USHORT_T   FileSequenceNum;
   ESS_USHORT_T   FileCount;
   ESS_USHORT_T   FileType;
   ESS_BOOL_T     FileOpen;
}  ESS_DBFILEINFO_T, *ESS_PDBFILEINFO_T, **ESS_PPDBFILEINFO_T;
Data TypeFieldDescription
ESS_APPNAME_TAppNameApplication name
ESS_DBNAME_TDbNameDatabase name
ESS_FILENAME_TFilePathFile path
ESS_SIZE_TFileSizeFile size in bytes
ESS_USHORT_TFileSequenceNumThe 1-based sequence number of the file within the set of files of its FileType for the specified database
ESS_USHORT_TFileCountNumber of files of its FileType returned
ESS_USHORT_TFileTypeOne of the following file types:
  • ESS_FILETYPE_INDEX

  • ESS_FILETYPE_DATA

ESS_BOOL_TFileOpenFlag indicating whether the file is open: 0 if the file is closed, nonzero if the file is open