summaryrefslogtreecommitdiff
path: root/whois.h
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>1999-11-15 00:59:07 +0100
committerMarco d'Itri <md@linux.it>2013-03-30 02:31:26 +0100
commit6d3af40a958d3847456488393dc6e614e7c7cb5b (patch)
tree61324876b0fef138f49ac2c474c00c2886e09b5d /whois.h
parentbc68e8c4a6448126476c373fd67a76fb2b657835 (diff)
downloadwhois-6d3af40a958d3847456488393dc6e614e7c7cb5b.tar.gz
Imported Debian version 4.4.1v4.4.1
Diffstat (limited to 'whois.h')
-rw-r--r--whois.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/whois.h b/whois.h
index 86e3556..0da289f 100644
--- a/whois.h
+++ b/whois.h
@@ -1,7 +1,3 @@
-/* Identification string */
-/* #define IDSTRING "-VMd" VERSION */
-#define IDSTRING "-VwC2.0"
-
/* Size of the buffer where the query is built */
#define QUERYBUFSIZE 1024
@@ -16,7 +12,6 @@
/* system features */
#ifdef linux
-# define HAVE_GNU_GETOPT
# define ENABLE_NLS
# if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
# define HAVE_GETADDRINFO
@@ -47,16 +42,9 @@
#endif
-/* If needed, disable GNU getopt "features" */
-#ifdef HAVE_GNU_GETOPT
-# define GETOPT(argc, argv, str) getopt((argc), (argv), "+" str)
-#else
-# define GETOPT(argc, argv, str) getopt((argc), (argv), (str))
-#endif
-
-
/* prototypes */
const char *whichwhois(const char *);
+const char *whereas(unsigned short, 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 *);
@@ -71,3 +59,8 @@ int domfind(const char *, const char *[]);
void err_quit(const char *,...);
void err_sys(const char *,...);
+
+/* flags for RIPE-like servers */
+const char *ripeflags="acFLmMrRS";
+const char *ripeflagsp="gisTtv";
+