list widget selection
[oftp] / src / ftp.h
index e8bcf10..13cc415 100644 (file)
--- a/src/ftp.h
+++ b/src/ftp.h
@@ -20,6 +20,11 @@ enum {
        FTP_CONN_ACT
 };
 
+enum {
+       FTP_MOD_REMDIR  = 0x100,
+       FTP_MOD_LOCDIR  = 0x200
+};
+
 struct ftp_op {
        int op;
        char *arg;
@@ -30,13 +35,16 @@ struct ftp_op {
 struct ftp_dirent {
        char *name;
        int type;
+       long size;
+
+       struct ftp_dirent *next;
 };
 
 struct ftp {
        int ctl, lis, data;     /* sockets */
        int lis_port;
 
-       int status;
+       int status, busy;
        char *user, *pass;
 
        struct ftp_op *qhead, *qtail;