HardenedBSD/lib/libftpio
Andrey A. Chernov 0c663b7771 For functions ftpGetURL, ftpPutURL, ftpLogin it was impossible to know
FTP error return code because
1) They return NULL, it means that ftpErrno can't be used because
it takes file pointer
2) They don't have FILE-type argument as f.e. ftpGet/ftpPut to use
it for ftpErrno instead.

For that functions I add yet one int* type argument to store
FTP error return code. It is impossible to add some global variable
for that reason, because user can have multiply FTP connections
opened at the same time.

So, interface changed, major number bumped.
Userland changes will follows.

Minor bugfixes, the code:
Forget to close file in few places, when failure occurse
Forget to NULL cached host name, multiply free is possible
1996-11-14 06:59:41 +00:00
..
ftp.errors Add an ftpErrString() function for returning human readable failure 1996-08-21 01:12:11 +00:00
ftpio.3 For functions ftpGetURL, ftpPutURL, ftpLogin it was impossible to know 1996-11-14 06:59:41 +00:00
ftpio.c For functions ftpGetURL, ftpPutURL, ftpLogin it was impossible to know 1996-11-14 06:59:41 +00:00
ftpio.h For functions ftpGetURL, ftpPutURL, ftpLogin it was impossible to know 1996-11-14 06:59:41 +00:00
Makefile For functions ftpGetURL, ftpPutURL, ftpLogin it was impossible to know 1996-11-14 06:59:41 +00:00