Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / bind / dist / lib / dns / rbtdb.h
blobd5d75aa03e88ecf04d767ced6bbd7a05503590b8
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
5 * Copyright (C) 1999-2001 Internet Software Consortium.
7 * Permission to use, copy, modify, and/or distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
11 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 * PERFORMANCE OF THIS SOFTWARE.
20 /* Id: rbtdb.h,v 1.18 2007/06/19 23:47:16 tbox Exp */
22 #ifndef DNS_RBTDB_H
23 #define DNS_RBTDB_H 1
25 #include <isc/lang.h>
26 #include <dns/types.h>
28 /*****
29 ***** Module Info
30 *****/
32 /*! \file
33 * \brief
34 * DNS Red-Black Tree DB Implementation
37 ISC_LANG_BEGINDECLS
39 isc_result_t
40 dns_rbtdb_create(isc_mem_t *mctx, dns_name_t *base, dns_dbtype_t type,
41 dns_rdataclass_t rdclass, unsigned int argc, char *argv[],
42 void *driverarg, dns_db_t **dbp);
44 ISC_LANG_ENDDECLS
46 #endif /* DNS_RBTDB_H */