forward.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 2000, 2001, 2004, 2005, 2007, 2009, 2013, 2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*! \file */
#include <config.h>
struct dns_fwdtable {
/* Unlocked. */
unsigned int magic;
/* Locked by lock. */
};
static void
auto_detach(void *, void *);
return (ISC_R_NOMEMORY);
if (result != ISC_R_SUCCESS)
goto cleanup_fwdtable;
if (result != ISC_R_SUCCESS)
goto cleanup_rbt;
return (ISC_R_SUCCESS);
return (result);
}
{
if (forwarders == NULL)
return (ISC_R_NOMEMORY);
{
goto cleanup;
}
}
if (result != ISC_R_SUCCESS)
goto cleanup;
return (ISC_R_SUCCESS);
}
return (result);
}
{
if (forwarders == NULL)
return (ISC_R_NOMEMORY);
{
goto cleanup;
}
}
if (result != ISC_R_SUCCESS)
goto cleanup;
return (ISC_R_SUCCESS);
}
return (result);
}
if (result == DNS_R_PARTIALMATCH)
return (result);
}
{
}
{
(void **)forwardersp);
if (result == DNS_R_PARTIALMATCH)
return (result);
}
void
}
/***
*** Private
***/
static void
}
}