diff options
Diffstat (limited to 'lib/libftp/FtpLibrary.h')
-rw-r--r-- | lib/libftp/FtpLibrary.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libftp/FtpLibrary.h b/lib/libftp/FtpLibrary.h index 02aa662..9a045d8 100644 --- a/lib/libftp/FtpLibrary.h +++ b/lib/libftp/FtpLibrary.h @@ -20,6 +20,8 @@ Commercial usage is also possible with participation of it's author. extern "C" { #endif #include <stdio.h> +#include <string.h> +#include <stdlib.h> #include <sys/types.h> #include <sys/time.h> #include <sys/timeb.h> @@ -174,6 +176,9 @@ STATUS FtpPort ( FTP *con ,int ,int ,int ,int ,int ,int ); STATUS FtpOpenDir( FTP * con , char * files ); STATUS FtpClose ( FTP *); +STATUS FtpReadBlock(FTP *ftp, char *buffer, int size); +STATUS FtpWriteBlock(FTP *ftp, char *buffer, int size); + /* Command for hand transfer */ STATUS FtpRead ( FTP * con); |