diff options
author | ume <ume@FreeBSD.org> | 2000-07-05 19:34:43 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2000-07-05 19:34:43 +0000 |
commit | d3c71f0efbb39b37472b918609511858e32a05de (patch) | |
tree | b33ca97e6c4ce735407a4ea6a42248f1d8abdf04 /lib/libftpio/ftpio.3 | |
parent | ade2fdc9b1701bac09b782a5085218e81f59686d (diff) | |
download | FreeBSD-src-d3c71f0efbb39b37472b918609511858e32a05de.zip FreeBSD-src-d3c71f0efbb39b37472b918609511858e32a05de.tar.gz |
IPv6 support.
This is required for forthcoming IPv6 ready installer.
Obtained from: KAME
Diffstat (limited to 'lib/libftpio/ftpio.3')
-rw-r--r-- | lib/libftpio/ftpio.3 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/lib/libftpio/ftpio.3 b/lib/libftpio/ftpio.3 index b20b8f5..510324d 100644 --- a/lib/libftpio/ftpio.3 +++ b/lib/libftpio/ftpio.3 @@ -39,7 +39,10 @@ .Nm ftpPassive , .Nm ftpVerbose , .Nm ftpGetURL , -.Nm ftpPutURL +.Nm ftpPutURL , +.Nm ftpLoginAf , +.Nm ftpGetURLAf , +.Nm ftpPutURLAf .Nd FTPIO User library .Sh SYNOPSIS .Fd #include <ftpio.h> @@ -71,6 +74,12 @@ .Fn ftpGetURL "char *url, char *user, char *passwd, int *retcode" .Ft FILE * .Fn ftpPutURL "char *url, char *user, char *passwd, int *retcode" +.Ft int +.Fn ftpLoginAf "char *host" "int af" "char *user" "char *passwd" "int ftp_port" "int verbose" "int *retcode" +.Ft FILE * +.Fn ftpGetURLAf "char *url" "int af" "char *user" "char *passwd" "int *retcode" +.Ft FILE * +.Fn ftpPutURLAf "char *url" "int af" "char *user" "char *passwd" "int *retcode" .Sh DESCRIPTION These functions implement a high-level library for managing FTP connections. @@ -186,6 +195,16 @@ operations except that no server stream is ever returned - the connection to the server closes when the file has been completely written. Use the lower-level routines if multiple puts are required as it will be far more efficient. +.Pp +.Fn ftpLoginAf , +.Fn ftpGetURLAf , +.Fn ftpPutURLAf +are same as +.Fn ftpLogin , +.Fn ftpGetURL , +.Fn ftpPutURL +except that they are able to specify address family +.Fa af . .Sh ENVIRONMENT .Bl -tag -width FTP_PASSIVE_MODE -offset 123 .It Ev FTP_TIMEOUT |