projects
/
oftp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
list widget selection
[oftp]
/
src
/
ftp.h
diff --git
a/src/ftp.h
b/src/ftp.h
index
e8bcf10
..
13cc415
100644
(file)
--- a/
src/ftp.h
+++ b/
src/ftp.h
@@
-20,6
+20,11
@@
enum {
FTP_CONN_ACT
};
FTP_CONN_ACT
};
+enum {
+ FTP_MOD_REMDIR = 0x100,
+ FTP_MOD_LOCDIR = 0x200
+};
+
struct ftp_op {
int op;
char *arg;
struct ftp_op {
int op;
char *arg;
@@
-30,13
+35,16
@@
struct ftp_op {
struct ftp_dirent {
char *name;
int type;
struct ftp_dirent {
char *name;
int type;
+ long size;
+
+ struct ftp_dirent *next;
};
struct ftp {
int ctl, lis, data; /* sockets */
int lis_port;
};
struct ftp {
int ctl, lis, data; /* sockets */
int lis_port;
- int status;
+ int status, busy;
char *user, *pass;
struct ftp_op *qhead, *qtail;
char *user, *pass;
struct ftp_op *qhead, *qtail;