|
Packit Service |
ae04f2 |
/*
|
|
Packit Service |
ae04f2 |
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
Packit Service |
ae04f2 |
*
|
|
Packit Service |
ae04f2 |
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit Service |
ae04f2 |
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit Service |
ae04f2 |
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
Packit Service |
ae04f2 |
*
|
|
Packit Service |
ae04f2 |
* See the COPYRIGHT file distributed with this work for additional
|
|
Packit Service |
ae04f2 |
* information regarding copyright ownership.
|
|
Packit Service |
ae04f2 |
*/
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
#ifndef DNS_RBTDB_H
|
|
Packit Service |
ae04f2 |
#define DNS_RBTDB_H 1
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
#include <isc/lang.h>
|
|
Packit Service |
ae04f2 |
#include <dns/types.h>
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
/*****
|
|
Packit Service |
ae04f2 |
***** Module Info
|
|
Packit Service |
ae04f2 |
*****/
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
/*! \file
|
|
Packit Service |
ae04f2 |
* \brief
|
|
Packit Service |
ae04f2 |
* DNS Red-Black Tree DB Implementation
|
|
Packit Service |
ae04f2 |
*/
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
ISC_LANG_BEGINDECLS
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
isc_result_t
|
|
Packit Service |
ae04f2 |
dns_rbtdb_create(isc_mem_t *mctx, dns_name_t *base, dns_dbtype_t type,
|
|
Packit Service |
ae04f2 |
dns_rdataclass_t rdclass, unsigned int argc, char *argv[],
|
|
Packit Service |
ae04f2 |
void *driverarg, dns_db_t **dbp);
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
/*%<
|
|
Packit Service |
ae04f2 |
* Create a new database of type "rbt" (or "rbt64"). Called via
|
|
Packit Service |
ae04f2 |
* dns_db_create(); see documentation for that function for more details.
|
|
Packit Service |
ae04f2 |
*
|
|
Packit Service |
ae04f2 |
* If argv[0] is set, it points to a valid memory context to be used for
|
|
Packit Service |
ae04f2 |
* allocation of heap memory. Generally this is used for cache databases
|
|
Packit Service |
ae04f2 |
* only.
|
|
Packit Service |
ae04f2 |
*
|
|
Packit Service |
ae04f2 |
* Requires:
|
|
Packit Service |
ae04f2 |
*
|
|
Packit Service |
ae04f2 |
* \li argc == 0 or argv[0] is a valid memory context.
|
|
Packit Service |
ae04f2 |
*/
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
ISC_LANG_ENDDECLS
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
#endif /* DNS_RBTDB_H */
|