summaryrefslogtreecommitdiff
path: root/whois.h
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2000-06-04 20:00:20 +0200
committerMarco d'Itri <md@linux.it>2013-03-30 02:31:27 +0100
commitd4170f18798b33c454063395b9346eef7c1490c5 (patch)
tree9428f3113b5b956240114b65f31aa6a404a22600 /whois.h
parent6d3af40a958d3847456488393dc6e614e7c7cb5b (diff)
downloadwhois-d4170f18798b33c454063395b9346eef7c1490c5.tar.gz
Imported Debian version 4.4.14v4.4.14
Diffstat (limited to 'whois.h')
-rw-r--r--whois.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/whois.h b/whois.h
index 0da289f..79d469a 100644
--- a/whois.h
+++ b/whois.h
@@ -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 *);