projects
/
oftp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
foo
[oftp]
/
src
/
ftp.h
diff --git
a/src/ftp.h
b/src/ftp.h
index
c843e53
..
2d69ce7
100644
(file)
--- a/
src/ftp.h
+++ b/
src/ftp.h
@@
-11,6
+11,11
@@
struct ftp_dirent {
struct ftp {
int ctl, data; /* sockets */
struct ftp {
int ctl, data; /* sockets */
+ char crecv[256];
+ int num_crecv;
+ char drecv[256];
+ int num_drecv;
+
char *cwd;
struct ftp_dirent *dent;
int num_dent;
char *cwd;
struct ftp_dirent *dent;
int num_dent;
@@
-22,6
+27,11
@@
void ftp_free(struct ftp *ftp);
int ftp_connect(struct ftp *ftp, const char *host, int port);
void ftp_close(struct ftp *ftp);
int ftp_connect(struct ftp *ftp, const char *host, int port);
void ftp_close(struct ftp *ftp);
+int ftp_sockets(struct ftp *ftp, int *sockv, int maxsize);
+int ftp_pending(struct ftp *ftp);
+
+int ftp_handle(struct ftp *ftp, int s);
+
int ftp_update(struct ftp *ftp);
int ftp_chdir(struct ftp *ftp, const char *dirname);
int ftp_update(struct ftp *ftp);
int ftp_chdir(struct ftp *ftp, const char *dirname);