version 1.81, 2010/06/29 23:12:33 |
version 1.82, 2012/04/30 13:41:26 |
|
|
hist = NULL; |
hist = NULL; |
cookiefile = NULL; |
cookiefile = NULL; |
resume = 0; |
resume = 0; |
|
srcaddr = NULL; |
marg_sl = sl_init(); |
marg_sl = sl_init(); |
#endif /* !SMALL */ |
#endif /* !SMALL */ |
mark = HASHBYTES; |
mark = HASHBYTES; |
|
|
cookiefile = getenv("http_cookies"); |
cookiefile = getenv("http_cookies"); |
#endif /* !SMALL */ |
#endif /* !SMALL */ |
|
|
while ((ch = getopt(argc, argv, "46AaCc:dEegik:mno:pP:r:tvV")) != -1) { |
while ((ch = getopt(argc, argv, "46AaCc:dEegik:mno:pP:r:s:tvV")) != -1) { |
switch (ch) { |
switch (ch) { |
case '4': |
case '4': |
family = PF_INET; |
family = PF_INET; |
|
|
} |
} |
break; |
break; |
|
|
|
case 's': |
|
#ifndef SMALL |
|
srcaddr = optarg; |
|
#endif /* !SMALL */ |
|
break; |
|
|
case 't': |
case 't': |
trace = 1; |
trace = 1; |
break; |
break; |
|
|
" %s [-C] " |
" %s [-C] " |
#endif /* !SMALL */ |
#endif /* !SMALL */ |
"[-o output] " |
"[-o output] " |
|
#ifndef SMALL |
|
"[-s srcaddr] " |
|
#endif /* !SMALL */ |
"ftp://[user:password@]host[:port]/file[/] ...\n" |
"ftp://[user:password@]host[:port]/file[/] ...\n" |
" %s " |
" %s " |
#ifndef SMALL |
#ifndef SMALL |
"[-C] [-c cookie] " |
"[-C] [-c cookie] " |
#endif /* !SMALL */ |
#endif /* !SMALL */ |
"[-o output] " |
"[-o output] " |
|
#ifndef SMALL |
|
"[-s srcaddr] " |
|
#endif /* !SMALL */ |
"http://host[:port]/file ...\n" |
"http://host[:port]/file ...\n" |
#ifndef SMALL |
#ifndef SMALL |
" %s [-C] [-c cookie] [-o output] " |
" %s [-C] [-c cookie] [-o output] [-s srcaddr] " |
"https://host[:port]/file ...\n" |
"https://host[:port]/file ...\n" |
#endif /* !SMALL */ |
#endif /* !SMALL */ |
" %s " |
" %s " |
|
|
"[-C] " |
"[-C] " |
#endif /* !SMALL */ |
#endif /* !SMALL */ |
"[-o output] " |
"[-o output] " |
|
#ifndef SMALL |
|
"[-s srcaddr] " |
|
#endif /* !SMALL */ |
"file:file ...\n" |
"file:file ...\n" |
" %s " |
" %s " |
#ifndef SMALL |
#ifndef SMALL |
"[-C] " |
"[-C] " |
#endif /* !SMALL */ |
#endif /* !SMALL */ |
"[-o output] host:/file[/] ...\n", |
"[-o output] " |
|
#ifndef SMALL |
|
"[-s srcaddr] " |
|
#endif /* !SMALL */ |
|
"host:/file[/] ...\n", |
#ifndef SMALL |
#ifndef SMALL |
__progname, __progname, __progname, __progname, __progname, |
__progname, __progname, __progname, __progname, __progname, |
__progname); |
__progname); |