--- embedaddon/mtr/ui/dns.h 2019/10/21 14:25:31 1.1 +++ embedaddon/mtr/ui/dns.h 2023/09/27 11:18:58 1.1.1.3 @@ -3,7 +3,7 @@ Copyright (C) 1997,1998 Matt Kimball This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 as + it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, @@ -11,9 +11,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include @@ -23,7 +23,7 @@ /* Prototypes for dns.c */ extern void dns_open( - struct mtr_ctl *ctl); + void); extern int dns_waitfd( void); extern void dns_ack( @@ -41,10 +41,8 @@ extern char *dns_lookup( extern char *dns_lookup2( struct mtr_ctl *ctl, ip_t * address); -extern struct hostent *dns_forward( - const char *name); extern char *strlongip( - struct mtr_ctl *ctl, + sa_family_t family, ip_t * ip); extern void addr2ip6arpa(