@@ -99,30 +99,32 @@ class CUT_WSDataClient : public CUT_WSClient
9999
100100// directory infomation linked list - ascii fileName for internal use
101101typedef struct CUT_DIRINFOATag {
102- char fileName[MAX_PATH +1 ]; // file or directory name
103- long fileSize; // size of directory or file in bytes
104- int day; // the day digit of the file date
105- int month; // the month digit of the file date
106- int year; // the year digit of the file date
107- int hour; // the hour digit of the file date
108- int minute; // the minute digit of the file date
109- int isDir; // flag if the entry is directory or a file
110- int permissions; // file or directoy permissions
111- CUT_DIRINFOATag * next; // next available entry
102+ char fileName[MAX_PATH + 1 ]{}; // file or directory name
103+ char mod[11 ]{}; // unix file mod text
104+ long fileSize = 0 ; // size of directory or file in bytes
105+ int day = 0 ; // the day digit of the file date
106+ int month = 0 ; // the month digit of the file date
107+ int year = 0 ; // the year digit of the file date
108+ int hour = 0 ; // the hour digit of the file date
109+ int minute = 0 ; // the minute digit of the file date
110+ int isDir = 0 ; // flag if the entry is directory or a file
111+ int permissions = 0 ; // file or directoy permissions
112+ CUT_DIRINFOATag * next = nullptr ; // next available entry
112113}CUT_DIRINFOA ;
113114
114115// _TCHAR for UI
115116typedef struct CUT_DIRINFOTag {
116- _TCHAR fileName[MAX_PATH +1 ]; // file or directory name
117- long fileSize; // size of directory or file in bytes
118- int day; // the day digit of the file date
119- int month; // the month digit of the file date
120- int year; // the year digit of the file date
121- int hour; // the hour digit of the file date
122- int minute; // the minute digit of the file date
123- int isDir; // flag if the entry is directory or a file
124- int permissions; // file or directoy permissions
125- CUT_DIRINFOTag * next; // next available entry
117+ _TCHAR fileName[MAX_PATH +1 ]{}; // file or directory name
118+ _TCHAR mod[11 ]{}; // unix file mod text
119+ long fileSize = 0 ; // size of directory or file in bytes
120+ int day = 0 ; // the day digit of the file date
121+ int month = 0 ; // the month digit of the file date
122+ int year = 0 ; // the year digit of the file date
123+ int hour = 0 ; // the hour digit of the file date
124+ int minute = 0 ; // the minute digit of the file date
125+ int isDir = 0 ; // flag if the entry is directory or a file
126+ int permissions = 0 ; // file or directoy permissions
127+ CUT_DIRINFOTag * next = nullptr ; // next available entry
126128}CUT_DIRINFO ;
127129
128130
0 commit comments