Annotation of embedaddon/mtr/asn.h, revision 1.1.1.2

1.1       misho       1: /*
                      2:     mtr  --  a network diagnostic tool
                      3:     Copyright (C) 1997,1998  Matt Kimball
                      4: 
                      5:     This program is free software; you can redistribute it and/or modify
                      6:     it under the terms of the GNU General Public License version 2 as
                      7:     published by the Free Software Foundation.
                      8: 
                      9:     This program is distributed in the hope that it will be useful,
                     10:     but WITHOUT ANY WARRANTY; without even the implied warranty of
                     11:     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     12:     GNU General Public License for more details.
                     13: 
                     14:     You should have received a copy of the GNU General Public License
                     15:     along with this program; if not, write to the Free Software
                     16:     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
                     17: */
                     18: 
1.1.1.2 ! misho      19: // The autoconf system provides us with the NO_IPINFO define. 
        !            20: // Littering the code with #ifndef NO_IPINFO (double negative)
        !            21: // does not benefit readabilty. So here we invert the sense of the
        !            22: // define. 
        !            23: //
        !            24: // Similarly, this include file should be included unconditially. 
        !            25: // It will evaluate to nothing if we don't need it. 
        !            26: 
        !            27: #ifndef NO_IPINFO
        !            28: #define IPINFO
        !            29: 
        !            30: 
1.1       misho      31: extern int ipinfo_no;
                     32: extern int ipinfo_max;
                     33: extern int iiwidth_len;
                     34: extern int iihash;
                     35: void asn_open();
                     36: void asn_close();
                     37: char *fmt_ipinfo(ip_t *addr);
                     38: int get_iiwidth(void);
                     39: int is_printii(void);
                     40: 
1.1.1.2 ! misho      41: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>