mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 23:10:04 -04:00
private structures
This commit is contained in:
parent
5d989a8b8b
commit
68a1ce3cee
3 changed files with 27 additions and 2 deletions
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
static const char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93";
|
||||
static const char rcsid[] = "$Id: res_init.c,v 1.1 2001/03/29 06:31:59 marka Exp $";
|
||||
static const char rcsid[] = "$Id: res_init.c,v 1.2 2001/04/02 07:52:30 marka Exp $";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "port_before.h"
|
||||
|
|
@ -93,6 +93,7 @@ static const char rcsid[] = "$Id: res_init.c,v 1.1 2001/03/29 06:31:59 marka Exp
|
|||
#include <netdb.h>
|
||||
|
||||
#include "port_after.h"
|
||||
#include "res_private.h"
|
||||
|
||||
/* Options. Should all be left alone. */
|
||||
#define RESOLVSORT
|
||||
|
|
|
|||
|
|
@ -1,2 +1,25 @@
|
|||
#ifndef res_private_h
|
||||
#define res_private_h
|
||||
|
||||
union __res_sockaddr_union {
|
||||
struct sockaddr_in sin;
|
||||
struct sockaddr_in6 sin6;
|
||||
int64_t __align; /* 64bit alignment */
|
||||
char __space[128]; /* max size */
|
||||
};
|
||||
|
||||
struct __res_state_ext {
|
||||
union __res_sockaddr_union nsaddrs[MAXNS];
|
||||
struct sort_list {
|
||||
int af;
|
||||
union {
|
||||
struct in_addr ina;
|
||||
struct in6_addr in6a;
|
||||
} addr, mask;
|
||||
} sort_list[MAXRESOLVSORT];
|
||||
};
|
||||
|
||||
extern int
|
||||
res_ourserver_p(const res_state statp, const struct sockaddr *sa);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#if !defined(lint) && !defined(SABER)
|
||||
static const char rcsid[] = "$Id: res_update.c,v 1.1 2001/03/29 06:31:59 marka Exp $";
|
||||
static const char rcsid[] = "$Id: res_update.c,v 1.2 2001/04/02 07:52:33 marka Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
|
|
@ -47,6 +47,7 @@ static const char rcsid[] = "$Id: res_update.c,v 1.1 2001/03/29 06:31:59 marka E
|
|||
#include <isc/list.h>
|
||||
|
||||
#include "port_after.h"
|
||||
#include "res_private.h"
|
||||
|
||||
/*
|
||||
* Separate a linked list of records into groups so that all records
|
||||
|
|
|
|||
Loading…
Reference in a new issue