Kea 1.5.0
ncr_generator.h
Go to the documentation of this file.
1// Copyright (C) 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#ifndef NCR_GENERATOR_H
8#define NCR_GENERATOR_H
9
10#include <dhcp_ddns/ncr_msg.h>
11#include <dhcpsrv/lease.h>
12
13namespace isc {
14namespace dhcp {
15
27void queueNCR(const dhcp_ddns::NameChangeType& chg_type, const Lease4Ptr& lease);
28
42void queueNCR(const dhcp_ddns::NameChangeType& chg_type, const Lease6Ptr& lease);
43
44} // end of isc::dhcp namespace
45} // end of isc namespace
46
47#endif // NCR_GENERATOR_H
NameChangeType
Defines the types of DNS updates that can be requested.
Definition: ncr_msg.h:46
void queueNCR(const NameChangeType &chg_type, const Lease4Ptr &lease)
Creates name change request from the DHCPv4 lease.
boost::shared_ptr< Lease6 > Lease6Ptr
Pointer to a Lease6 structure.
Definition: lease.h:463
boost::shared_ptr< Lease4 > Lease4Ptr
Pointer to a Lease4 structure.
Definition: lease.h:248
Defines the logger used by the top-level component of kea-dhcp-ddns.
This file provides the classes needed to embody, compose, and decompose DNS update requests that are ...