2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

include isc/net.h, do not include sys/socket.h, netinet/in.h or arpa/inet.h,

and/or use type in_port_t instead of unsigned int for ports
This commit is contained in:
David Lawrence
1999-10-02 02:54:16 +00:00
parent 64828244e0
commit a252c2771f
19 changed files with 39 additions and 55 deletions

View File

@@ -56,7 +56,6 @@
#include <config.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <stdio.h>

View File

@@ -58,9 +58,9 @@
#include <config.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <isc/mem.h>
#include <isc/net.h>
#include <dns/confip.h>

View File

@@ -54,11 +54,11 @@
#include <config.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <isc/region.h>
#include <isc/list.h>
#include <isc/mem.h>
#include <isc/net.h>
#include <dns/confcommon.h>

View File

@@ -52,9 +52,9 @@
#include <config.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <isc/mem.h>
#include <isc/net.h>
#include <dns/types.h>
#include <dns/confcommon.h>

View File

@@ -124,7 +124,7 @@ struct dns_c_slave_zone
isc_boolean_t maint_ixfr_base;
isc_int32_t max_ixfr_log;
dns_c_pubkey_t *pubkey;
isc_int32_t master_port;
in_port_t master_port;
dns_c_iplist_t *master_ips;
isc_sockaddr_t transfer_source;
isc_int32_t max_trans_time_in;
@@ -142,7 +142,7 @@ struct dns_c_stub_zone
dns_c_ipmatchlist_t *allow_transfer; /* should be here??? */
isc_boolean_t dialup;
dns_c_pubkey_t *pubkey;
isc_int32_t master_port;
in_port_t master_port;
dns_c_iplist_t *master_ips;
isc_sockaddr_t transfer_source;
isc_int32_t max_trans_time_in;
@@ -249,7 +249,7 @@ isc_result_t dns_c_zone_setpubkey(dns_c_zone_t *zone,
dns_c_pubkey_t *pubkey,
isc_boolean_t deepcopy);
isc_result_t dns_c_zone_setmasterport(dns_c_zone_t *zone,
isc_int32_t port);
in_port_t port);
isc_result_t dns_c_zone_setmasterips(dns_c_zone_t *zone,
dns_c_iplist_t *newval,
isc_boolean_t deepcopy);
@@ -293,7 +293,7 @@ isc_result_t dns_c_zone_getixfrtmp(dns_c_zone_t *zone,
isc_result_t dns_c_zone_getpubkey(dns_c_zone_t *zone,
dns_c_pubkey_t **retval);
isc_result_t dns_c_zone_getmasterport(dns_c_zone_t *zone,
isc_int32_t *retval);
in_port_t *retval);
isc_result_t dns_c_zone_getmasterips(dns_c_zone_t *zone,
dns_c_iplist_t **retval);
isc_result_t dns_c_zone_gettransfersource(dns_c_zone_t *zone,