| MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | #ifndef __DAEMON_WHOIS_H__ |
| 2 | #define __DAEMON_WHOIS_H__ | ||||
| 3 | |||||
| 4 | #define WHOIS "/p/daemon/udp/whois" | ||||
| 5 | |||||
| 6 | #define DESCR 0 | ||||
| 7 | #define COUNTRY 1 | ||||
| 8 | #define DATE 2 | ||||
| 9 | #define NETNAME 3 | ||||
| 10 | |||||
| 11 | |||||
| 12 | // prototypes | ||||
| 13 | #ifdef NEED_PROTOTYPES | ||||
| 14 | |||||
| 15 | mixed whois(string query, int type); | ||||
| 16 | string country(string query); | ||||
| 17 | string city(string query); | ||||
| 18 | string locate(string query, string ip); | ||||
| 19 | |||||
| 20 | #endif /* NEED_PROTOTYPES */ | ||||
| 21 | #endif /* __DAEMON_WHOIS_H__ */ | ||||