diff options
author | Marco d'Itri <md@linux.it> | 2000-06-04 20:00:20 +0200 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2013-03-30 02:31:27 +0100 |
commit | d4170f18798b33c454063395b9346eef7c1490c5 (patch) | |
tree | 9428f3113b5b956240114b65f31aa6a404a22600 /whois.h | |
parent | 6d3af40a958d3847456488393dc6e614e7c7cb5b (diff) | |
download | whois-d4170f18798b33c454063395b9346eef7c1490c5.tar.gz |
Imported Debian version 4.4.14v4.4.14
Diffstat (limited to 'whois.h')
-rw-r--r-- | whois.h | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -1,14 +1,8 @@ -/* Size of the buffer where the query is built */ -#define QUERYBUFSIZE 1024 - -/* Protocol data which could change */ -/* First and last lines of the Internic disclaimer */ -#define DISCL_BEGIN "The Data in" -#define DISCL_END "this query" - /* 6bone referto: extension */ -#define REFERTO_FORMAT "%% referto: whois -h %255s -p %15s %1023[^\n\r]" +#define REFERTO_FORMAT "%% referto: whois -h %255s -p %15s %1021[^\n\r]" +/* String sent to RIPE servers - ONLY FIVE CHARACTERS! */ +#define IDSTRING "Md4.4" /* system features */ #ifdef linux @@ -44,7 +38,7 @@ /* prototypes */ const char *whichwhois(const char *); -const char *whereas(unsigned short, struct as_del []); +const char *whereas(int, struct as_del []); char *queryformat(const char *, const char *, const char *); void do_query(const int, const char *); const char *query_crsnic(const int, const char *); |