]> sjero.net Git - wget/blobdiff - src/ftp.h
ftp: display hour:minute information if it is available.
[wget] / src / ftp.h
index 49279ac83874440ef743232305012a0166fba220..3062fd3a5e67bfef4fe6c256f2eec9e83c6c0ad4 100644 (file)
--- a/src/ftp.h
+++ b/src/ftp.h
@@ -87,6 +87,13 @@ enum
   GLOB_GLOBALL, GLOB_GETALL, GLOB_GETONE
 };
 
+/* Used by to test if time parsed includes hours and minutes. */
+enum parsetype
+{
+  TT_HOUR_MIN, TT_DAY
+};
+
+
 /* Information about one filename in a linked list.  */
 struct fileinfo
 {
@@ -94,6 +101,7 @@ struct fileinfo
   char *name;                  /* file name */
   wgint size;                  /* file size */
   long tstamp;                 /* time-stamp */
+  enum parsetype ptype; /* time parsing */
   int perms;                   /* file permissions */
   char *linkto;                        /* link to which file points */
   struct fileinfo *prev;       /* previous... */