root/psad/tags/psad-2.1.2/whois/whois.h

Revision 1555, 1.4 kB (checked in by mbr, 3 years ago)

updated to whois 4.7.13

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 /* 6bone referto: extension */
2 #define REFERTO_FORMAT  "%% referto: whois -h %255s -p %15s %1021[^\n\r]"
3
4 /* String sent to RIPE servers - MUST NOT BE LONGER THAN FIVE CHARACTERS! */
5 /* Do *NOT* change it if you don't know what you are doing! */
6 #define IDSTRING "Md4.7"
7
8 #define HIDE_DISABLED  -2
9 #define HIDE_UNSTARTED -1
10
11 /* prototypes */
12 const char *whichwhois(const char *);
13 const char *match_config_file(const char *);
14 const char *whereas(const unsigned short);
15 char *queryformat(const char *, const char *, const char *);
16 int hide_line(int *hiding, const char *const line);
17 const char *do_query(const int, const char *);
18 const char *query_crsnic(const int, const char *);
19 const char *query_pir(const int, const char *);
20 int openconn(const char *, const char *);
21 void usage(void);
22 void alarm_handler(int);
23 void sighandler(int);
24 unsigned long myinet_aton(const char *);
25 int isasciidigit(const char);
26 int domcmp(const char *, const char *);
27 int domfind(const char *, const char *[]);
28 char *normalize_domain(const char *);
29 char *convert_6to4(const char *);
30 const char *handle_query(const char *server, const char *port,
31                    const char *qstring, const char *fstring);
32 void split_server_port(const char *const input, const char **server,
33                        const char **port);
34
35 void err_quit(const char *,...);
36 void err_sys(const char *,...);
37
38
39 /* flags for RIPE-like servers */
40 const char *ripeflags="abBcdFGKlLmMrRSx";
41 const char *ripeflagsp="gisTtvq";
42
Note: See TracBrowser for help on using the browser.