diff options
author | Marco d'Itri <md@linux.it> | 2004-04-08 13:16:58 +0200 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2013-03-30 02:31:31 +0100 |
commit | 02298a2df4409b3ec0620ded5bcff2c1ae159613 (patch) | |
tree | 94b2b98e06fb210b3a092b12998c476c323bf591 /whois.h | |
parent | 548793b0a4bb4006db12dc1e4d86b7e7ce2fcd9a (diff) | |
download | whois-02298a2df4409b3ec0620ded5bcff2c1ae159613.tar.gz |
Imported Debian version 4.6.13v4.6.13
Diffstat (limited to 'whois.h')
-rw-r--r-- | whois.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -5,12 +5,16 @@ /* Do *NOT* change it if you don't know what you are doing! */ #define IDSTRING "Md4.6" +#define HIDE_DISABLED -2 +#define HIDE_UNSTARTED -1 + /* prototypes */ const char *whichwhois(const char *); const char *match_config_file(const char *); const char *whereas(const unsigned short); char *queryformat(const char *, const char *, const char *); -void do_query(const int, const char *); +int hide_line(int *hiding, const char *const line); +const char *do_query(const int, const char *); const char *query_crsnic(const int, const char *); const char *query_pir(const int, const char *); int openconn(const char *, const char *); @@ -23,6 +27,10 @@ int domcmp(const char *, const char *); int domfind(const char *, const char *[]); char *normalize_domain(const char *); char *convert_6to4(const char *); +const char *handle_query(const char *server, const char *port, + const char *qstring, const char *fstring); +void split_server_port(const char *const input, const char **server, + const char **port); void err_quit(const char *,...); void err_sys(const char *,...); |