X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fftp.h;h=13cc415efb75727fd82369762bba15b74fd5df65;hb=e0c59f7f4ddb73390dc9c16569254c0e2a921931;hp=e8bcf10928a02eb1fc65d180d44c37ef81bcb841;hpb=a606b2eade34c3d8e662e94a32af960b5d2911f1;p=oftp diff --git a/src/ftp.h b/src/ftp.h index e8bcf10..13cc415 100644 --- 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;