|
|
| version 1.1.1.1, 2013/07/21 23:43:42 | version 1.1.1.2, 2016/11/01 09:33:48 |
|---|---|
| Line 16 | Line 16 |
| Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| */ | */ |
| // The autoconf system provides us with the NO_IPINFO define. | |
| // Littering the code with #ifndef NO_IPINFO (double negative) | |
| // does not benefit readabilty. So here we invert the sense of the | |
| // define. | |
| // | |
| // Similarly, this include file should be included unconditially. | |
| // It will evaluate to nothing if we don't need it. | |
| #ifndef NO_IPINFO | |
| #define IPINFO | |
| extern int ipinfo_no; | extern int ipinfo_no; |
| extern int ipinfo_max; | extern int ipinfo_max; |
| extern int iiwidth_len; | extern int iiwidth_len; |
| Line 26 char *fmt_ipinfo(ip_t *addr); | Line 38 char *fmt_ipinfo(ip_t *addr); |
| int get_iiwidth(void); | int get_iiwidth(void); |
| int is_printii(void); | int is_printii(void); |
| #endif |