tcldb.c revision ec5347e2c775f027573ce5648b910361aa926c01
823N/A * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") 823N/A * Copyright (C) 2000, 2001 Internet Software Consortium. 823N/A * Permission to use, copy, modify, and/or distribute this software for any 823N/A * purpose with or without fee is hereby granted, provided that the above 823N/A * copyright notice and this permission notice appear in all copies. 6983N/A * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 6983N/A * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 823N/A * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 823N/A * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 823N/A * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 823N/A * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 6983N/A * PERFORMANCE OF THIS SOFTWARE. 823N/A * A simple database driver that calls a Tcl procedure to define 823N/A * the contents of the DNS namespace. The procedure is loaded 5175N/A * Perform a lookup, by invoking the Tcl procedure "lookup". 5175N/A "zone '%s': tcl lookup function failed: %s",
2487N/A "malformed return value from tcl lookup function: %s",
5175N/A * Set up per-zone state. In our case, the database arguments of the 5175N/A * zone are collected into a Tcl list and assigned to an element of 5175N/A * the global array "dbargs". 5175N/A * This driver does not support zone transfer, so allnodes() is NULL. 5175N/A * Initialize the tcldb driver. 878N/A * Wrapper around dns_sdb_unregister().