diff options
Diffstat (limited to 'ext/ftp/ftp.h')
| -rw-r--r-- | ext/ftp/ftp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h index ea9a25d047..2e3d1bc8d0 100644 --- a/ext/ftp/ftp.h +++ b/ext/ftp/ftp.h @@ -100,6 +100,9 @@ const char* ftp_syst(ftpbuf_t *ftp); /* returns the present working directory (NULL on error) */ const char* ftp_pwd(ftpbuf_t *ftp); +/* exec a command [special features], return true on success, false on error */ +int ftp_exec(ftpbuf_t *ftp, const char *cmd); + /* changes directories, return true on success, false on error */ int ftp_chdir(ftpbuf_t *ftp, const char *dir); |
