From a4520e13fbf5218b78db2934e76ea1d869bbcdfd Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sat, 24 Jul 1999 01:15:44 +0000 Subject: [PATCH] update --- bin/named/Makefile.in | 17 ++++++++++------- bin/named/include/named/interfacemgr.h | 13 +++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bin/named/Makefile.in b/bin/named/Makefile.in index e75e3d9d07..37ba1f8fd8 100644 --- a/bin/named/Makefile.in +++ b/bin/named/Makefile.in @@ -17,19 +17,21 @@ srcdir = @srcdir@ VPATH = @srcdir@ top_srcdir = @top_srcdir@ +@BIND9_VERSION@ + CINCLUDES = -I../../lib/isc/unix/include \ -I${srcdir}/../../lib/isc/unix/include \ -I${srcdir}/../../lib/isc/pthreads/include \ -I${srcdir}/../../lib/isc/include \ -I../../lib/dns/include \ -I${srcdir}/../../lib/dns/include \ - -I${srcdir}/../.. \ - -I${srcdir} + -I${srcdir}/../../lib/dns/sec/dst/include \ + -I${srcdir}/include \ + -I${srcdir}/../.. CDEFINES = CWARNINGS = - DEPLIBS = ../../lib/dns/libdns.@A@ \ ../../lib/isc/libisc.@A@ @@ -38,14 +40,15 @@ LIBS = ${DEPLIBS} \ TARGETS = named -OBJS = server.o udpclient.o tcpclient.o printmsg.o \ - interfacemgr.o +OBJS = client.o interfacemgr.o main.o server.o -SRCS = server.c udpclient.c tcpclient.c \ - interfacemgr.c +SRCS = client.c interfacemgr.c main.c server.c @BIND9_MAKE_RULES@ +main.o: main.c + ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" -c $< + printmsg.o: ${srcdir}/../tests/printmsg.c ${CC} -c -o printmsg.o ${ALL_CFLAGS} -I${srcdir}/../tests \ ${srcdir}/../tests/printmsg.c diff --git a/bin/named/include/named/interfacemgr.h b/bin/named/include/named/interfacemgr.h index 0f205669f7..daeb235216 100644 --- a/bin/named/include/named/interfacemgr.h +++ b/bin/named/include/named/interfacemgr.h @@ -47,8 +47,10 @@ *** Imports ***/ +#include #include #include +#include #include @@ -56,23 +58,18 @@ *** Types ***/ -/* XXX this declaration should be somewhere else, where? */ -typedef dns_result_t -ns_dispatch_func(isc_mem_t *, isc_region_t *, unsigned int); - typedef struct ns_interfacemgr ns_interfacemgr_t; /*** *** Functions ***/ -dns_result_t +isc_result_t ns_interfacemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr, - isc_socketmgr_t *socketmgr, - ns_dispatch_func *dispatch, + isc_socketmgr_t *socketmgr, ns_clientmgr_t *clientmgr, ns_interfacemgr_t **mgrp); -dns_result_t +void ns_interfacemgr_scan(ns_interfacemgr_t *mgr); /* * Scan the operatings system's list of network interfaces