# ESS_DBFILEINFO_T

This structure 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 Type | Field | Description
ESS_APPNAME_T | AppName | Application name
ESS_DBNAME_T | DbName | Database name
ESS_FILENAME_T | FilePath | File path
ESS_SIZE_T | FileSize | File size in bytes
ESS_USHORT_T | FileSequenceNum | The 1-based sequence number of the file within the set of files of its FileType for the specified database
ESS_USHORT_T | FileCount | Number of files of its FileType returned
ESS_USHORT_T | FileType | One of the following file types: ESS_FILETYPE_INDEX ESS_FILETYPE_DATA
ESS_BOOL_T | FileOpen | Flag indicating whether the file is open: 0 if the file is closed, nonzero if the file is open