]> sjero.net Git - wget/blobdiff - src/ftp.h
[svn] Removed ftpparse dependencies. New parser for VMS listings. MacOS
[wget] / src / ftp.h
index 06a53318fde5aa6bc00be4863898fab974b01e89..b7c4d254c6af379ae4060d1cefbcfb89b7ded143 100644 (file)
--- a/src/ftp.h
+++ b/src/ftp.h
@@ -27,6 +27,7 @@ enum stype
   ST_UNIX,
   ST_VMS,
   ST_WINNT,
+  ST_MACOS,
   ST_OTHER
 };
   
@@ -98,6 +99,8 @@ typedef struct
   int cmd;                     /* command code */
   struct rbuf rbuf;            /* control connection buffer */
   long dltime;                 /* time of the download */
+  enum stype rs;               /* remote system reported by ftp server */ 
+  char *id;                    /* initial directory */
 } ccon;
 
 struct fileinfo *ftp_parse_ls PARAMS ((const char *, enum stype));