file, but you are not obligated to do so. If you do not wish to do
so, delete this exception statement from your version. */
-/* Needed for FDP. */
-#include <stdio.h>
-
struct options
{
int verbose; /* Are we verbose? */
double waitretry; /* The wait period between retries. - HEH */
int use_robots; /* Do we heed robots.txt? */
- long limit_rate; /* Limit the download rate to this
+ wgint limit_rate; /* Limit the download rate to this
many bps. */
LARGE_INT quota; /* Maximum file size to download and
store. */
listings? */
char *dot_style;
- long dot_bytes; /* How many bytes in a printing
+ wgint dot_bytes; /* How many bytes in a printing
dot. */
int dots_in_line; /* How many dots in one line. */
int dot_spacing; /* How many dots between spacings. */
int ipv4_only; /* IPv4 connections have been requested. */
int ipv6_only; /* IPv4 connections have been requested. */
#endif
+ enum {
+ prefer_ipv4,
+ prefer_ipv6,
+ prefer_none
+ } prefer_family; /* preferred address family when more
+ than one type is available */
};
extern struct options opt;