version 1.40, 2007/08/06 19:16:06 |
version 1.41, 2007/08/29 08:59:18 |
|
|
#define RUNICHOST "whois.ripn.net" |
#define RUNICHOST "whois.ripn.net" |
#define MNICHOST "whois.ra.net" |
#define MNICHOST "whois.ra.net" |
#define LNICHOST "whois.lacnic.net" |
#define LNICHOST "whois.lacnic.net" |
|
#define AFNICHOST "whois.afrinic.net" |
#define SNICHOST "whois.6bone.net" |
#define SNICHOST "whois.6bone.net" |
#define BNICHOST "whois.registro.br" |
#define BNICHOST "whois.registro.br" |
#define QNICHOST_TAIL ".whois-servers.net" |
#define QNICHOST_TAIL ".whois-servers.net" |
|
|
#define WHOIS_QUICK 0x02 |
#define WHOIS_QUICK 0x02 |
|
|
const char *port_whois = WHOIS_PORT; |
const char *port_whois = WHOIS_PORT; |
const char *ip_whois[] = { LNICHOST, RNICHOST, PNICHOST, BNICHOST, NULL }; |
const char *ip_whois[] = { LNICHOST, RNICHOST, PNICHOST, BNICHOST, |
|
AFNICHOST, NULL }; |
|
|
__dead void usage(void); |
__dead void usage(void); |
int whois(const char *, const char *, const char *, int); |
int whois(const char *, const char *, const char *, int); |