Commit bb556a9b authored by Bob Halley's avatar Bob Halley
Browse files

add rbtdb64

parent 7aacbd68
......@@ -16,8 +16,9 @@ CINCLUDES = -I${srcdir}/../isc/unix/include \
CDEFINES =
CWARNINGS =
OBJS = name.o db.o rbt.o rbtdb.o rdata.o rdatalist.o rdataset.o \
result.o version.o rdataslab.o master.o callbacks.o compress.o
OBJS = name.o db.o rbt.o rbtdb.o rbtdb64.o rdata.o rdatalist.o \
rdataset.o result.o version.o rdataslab.o master.o \
callbacks.o compress.o
SUBDIRS = include
TARGETS = include/dns/enumtype.h include/dns/enumclass.h timestamp
......@@ -59,3 +60,5 @@ code.h: gen
gen: gen.c
${CC} ${ALL_CFLAGS} -o $@ $?
rbtdb64.o: rbtdb.c
/*
* Copyright (C) 1999 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
* CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
* ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
*/
#define DNS_RBTDB_VERSION64 1
#include "rbtdb.c"
/*
* Copyright (C) 1999 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
* CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
* ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
*/
#ifndef DNS_RBTDB64_H
#define DNS_RBTDB64_H 1
/*****
***** Module Info
*****/
/*
* DNS Red-Black Tree DB Implementation with 64-bit version numbers
*/
#include <dns/db.h>
dns_result_t
dns_rbtdb64_create(isc_mem_t *mctx, dns_name_t *base, isc_boolean_t is_cache,
dns_rdataclass_t rdclass, unsigned int argc, char *argv[],
dns_db_t **dbp);
#endif /* DNS_RBTDB_H */
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