Kea: master_loader_callbacks.cc Source File

| Kea 2.2.0

master_loader_callbacks.cc
Go to the documentation of this file.
1// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#include <config.h>
8
9#include <dns/master_loader_callbacks.h>
10
11#include <string>
12
13namespace isc {
14namespace dns {
15
16namespace {
17void
18nullCallback(const std::string&, size_t, const std::string&) {
19}
20}
21
22MasterLoaderCallbacks
23MasterLoaderCallbacks::getNullCallbacks() {
24 return (MasterLoaderCallbacks(nullCallback, nullCallback));
25}
26
27} // end namespace dns
28} // end namespace isc
isc::dns::MasterLoaderCallbacks::getNullCallbacks
static MasterLoaderCallbacks getNullCallbacks()
Return a callbacks instance with null callbacks.
Definition: master_loader_callbacks.cc:23
isc::dns::MasterLoaderCallbacks::MasterLoaderCallbacks
MasterLoaderCallbacks(const IssueCallback &error, const IssueCallback &warning)
Constructor.
Definition: master_loader_callbacks.h:72
master_loader_callbacks.h
isc
Defines the logger used by the top-level component of kea-lfc.
Definition: agent_parser.cc:143