db.c revision 542b74bec72e1828c95dba4749efdf9485931398
d7201de09b85929a86b157f4b2d91667c68c6b52Automatic Updater * Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * Copyright (C) 1999-2001, 2003 Internet Software Consortium.
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * Permission to use, copy, modify, and/or distribute this software for any
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * purpose with or without fee is hereby granted, provided that the above
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * copyright notice and this permission notice appear in all copies.
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 * PERFORMANCE OF THIS SOFTWARE.
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉/* $Id: db.c,v 1.90 2009/04/29 23:48:02 tbox Exp $ */
struct dns_dbimplementation {
const char * name;
void * driverarg;
#include "rbtdb.h"
#include "rbtdb64.h"
initialize(void) {
static inline dns_dbimplementation_t *
return (imp);
return (NULL);
return (result);
return (ISC_R_NOTFOUND);
return (ISC_TRUE);
return (ISC_FALSE);
return (ISC_TRUE);
return (ISC_FALSE);
return (ISC_TRUE);
return (ISC_FALSE);
unsigned int options = 0;
return (result);
return (result);
iteratorp));
return (result);
goto freenode;
goto freerdataset;
return (result);
return (ISC_R_EXISTS);
return (ISC_R_NOMEMORY);
return (ISC_R_SUCCESS);
return (ISC_R_NOTFOUND);
return (NULL);
return (ISC_R_NOTFOUND);
return (ISC_R_NOTIMPLEMENTED);
return (ISC_R_NOTFOUND);