Commit a5d07924 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

provide more clearly marked places to insert code for

database drivers
parent f9870620
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.60 2000/11/15 23:56:19 bwelling Exp $ # $Id: Makefile.in,v 1.61 2000/11/27 19:12:22 gson Exp $
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
...@@ -23,9 +23,16 @@ top_srcdir = @top_srcdir@ ...@@ -23,9 +23,16 @@ top_srcdir = @top_srcdir@
@BIND9_INCLUDES@ @BIND9_INCLUDES@
#
# Add database drivers here.
#
DBDRIVER_OBJS =
DBDRIVER_INCLUDES =
DBDRIVER_LIBS =
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \ CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \
${LWRES_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} \ ${LWRES_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} \
${OMAPI_INCLUDES} ${OMAPI_INCLUDES} ${DBDRIVER_INCLUDES}
CDEFINES = CDEFINES =
CWARNINGS = CWARNINGS =
...@@ -42,7 +49,8 @@ LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@ ...@@ -42,7 +49,8 @@ LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
DEPLIBS = ${LWRESDEPLIBS} ${OMAPIDEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS} DEPLIBS = ${LWRESDEPLIBS} ${OMAPIDEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS}
LIBS = ${LWRESLIBS} ${OMAPILIBS} ${DNSLIBS} ${ISCLIBS} @LIBS@ LIBS = ${LWRESLIBS} ${OMAPILIBS} ${DNSLIBS} ${ISCLIBS} \
${DBDRIVER_LIBS} @LIBS@
SUBDIRS = unix SUBDIRS = unix
...@@ -54,7 +62,8 @@ OBJS = aclconf.@O@ client.@O@ interfacemgr.@O@ listenlist.@O@ \ ...@@ -54,7 +62,8 @@ OBJS = aclconf.@O@ client.@O@ interfacemgr.@O@ listenlist.@O@ \
tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \ tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \
zoneconf.@O@ \ zoneconf.@O@ \
lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \ lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \
lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ \
$(DBDRIVER_OBJS)
UOBJS = unix/os.@O@ UOBJS = unix/os.@O@
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: main.c,v 1.94 2000/11/17 22:09:19 bwelling Exp $ */ /* $Id: main.c,v 1.95 2000/11/27 19:12:23 gson Exp $ */
#include <config.h> #include <config.h>
...@@ -51,6 +51,11 @@ ...@@ -51,6 +51,11 @@
#include <named/lwresd.h> #include <named/lwresd.h>
#include <named/main.h> #include <named/main.h>
/*
* Include header files for database drivers here.
*/
/* #include <xxdb.h> */
static isc_boolean_t want_stats = ISC_FALSE; static isc_boolean_t want_stats = ISC_FALSE;
static const char * program_name = "named"; static const char * program_name = "named";
static char saved_command_line[512]; static char saved_command_line[512];
...@@ -493,6 +498,7 @@ setup(void) { ...@@ -493,6 +498,7 @@ setup(void) {
/* /*
* Add calls to register sdb drivers here. * Add calls to register sdb drivers here.
*/ */
/* xxdb_init(); */
ns_server_create(ns_g_mctx, &ns_g_server); ns_server_create(ns_g_mctx, &ns_g_server);
...@@ -513,6 +519,7 @@ cleanup(void) { ...@@ -513,6 +519,7 @@ cleanup(void) {
/* /*
* Add calls to unregister sdb drivers here. * Add calls to unregister sdb drivers here.
*/ */
/* xxdb_clear(); */
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN, isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE, "exiting"); ISC_LOG_NOTICE, "exiting");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment