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