diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-08-17 15:43:08 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-08-17 15:43:08 +0000 |
| commit | a8510bf414fba1220ac5eaee5b652a5813ca34ec (patch) | |
| tree | ef163d34be4ccad56680ff5d91213c75f0a6d031 /lib/libfetch/fetch.3 | |
| parent | 5b18d15e79836756585ab7bebd017dbe7e4c2a4d (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/fetch.3')
| -rw-r--r-- | lib/libfetch/fetch.3 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3 index b663232bd418..2c4bd10dcd3c 100644 --- a/lib/libfetch/fetch.3 +++ b/lib/libfetch/fetch.3 @@ -147,7 +147,7 @@ components. and .Fn fetchParseURL return a pointer to a -.Fa url +.Vt url structure, which is defined as follows in .Aq Pa fetch.h : .Bd -literal @@ -186,7 +186,7 @@ method, and call the appropriate lower-level functions to perform the actual transfer. .Fn fetchXGetURL also returns the remote document's metadata in the -.Fa url_stat +.Vt url_stat structure pointed to by the .Fa us argument. @@ -202,7 +202,7 @@ in the appropriate section below. attempts to obtain the requested document's metadata and fill in the structure pointed to by its second argument. The -.Fa url_stat +.Vt url_stat structure is defined as follows in .Aq Pa fetch.h : .Bd -literal @@ -227,10 +227,10 @@ field is set to the modification time. attempts to list the contents of the directory pointed to by the URL provided. If successful, it returns a malloced array of -.Fa url_ent +.Vt url_ent structures. The -.Fa url_ent +.Vt url_ent structure is defined as follows in .Aq Pa fetch.h : .Bd -literal @@ -260,7 +260,7 @@ and .Fn fetchStatURL , except that they expect a pre-parsed URL in the form of a pointer to a -.Fa struct url +.Vt struct url rather than a string. .Pp All of the @@ -295,7 +295,7 @@ do not accept any flags. .Pp .Fn fetchPutFile accepts the -.Fa a +.Ql a (append to file) flag. If that flag is specified, the data written to the stream returned by @@ -310,18 +310,18 @@ and implement the FTP protocol as described in RFC959. .Pp If the -.Fa p +.Ql p (passive) flag is specified, a passive (rather than active) connection will be attempted. .Pp If the -.Fa l +.Ql l (low) flag is specified, data sockets will be allocated in the low (or default) port range instead of the hifh port range (see .Xr ip 4 ) . .Pp If the -.Fa d +.Ql d (direct) flag is specified, .Fn fetchXGetFTP , .Fn fetchGetFTP @@ -344,7 +344,7 @@ With a little luck, there's even a chance that they comply with RFC2616 and RFC2617. .Pp If the -.Fa d +.Ql d (direct) flag is specified, .Fn fetchXGetHTTP , .Fn fetchGetHTTP @@ -361,7 +361,7 @@ is currently unimplemented. .Sh RETURN VALUES .Fn fetchParseURL returns a pointer to a -.Fa struct url +.Vt struct url containing the individual components of the URL. If it is unable to allocate memory, or the URL is syntactically incorrect, @@ -489,7 +489,7 @@ URL. .It Ev HTTP_USER_AGENT Specifies the User-Agent string to use for HTTP requests. This can be useful when working with HTTP origin or proxy servers that -differentiate between usder agents. +differentiate between user agents. .El .Sh SEE ALSO .Xr fetch 1 , |
