From 6d3af40a958d3847456488393dc6e614e7c7cb5b Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Mon, 15 Nov 1999 00:59:07 +0100 Subject: Imported Debian version 4.4.1 --- whois.h | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'whois.h') 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"; + -- cgit v1.2.3