Kea  1.5.0
lease_cmds.h
Go to the documentation of this file.
1 // Copyright (C) 2017-2018 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 LEASE_CMDS_H
8 #define LEASE_CMDS_H
9 
10 #include <cc/data.h>
11 #include <hooks/hooks.h>
12 
13 #include <boost/shared_ptr.hpp>
14 
15 namespace isc {
16 namespace lease_cmds {
17 
19 class LeaseCmdsImpl;
20 
26 class LeaseCmds {
27 public:
31  LeaseCmds();
32 
81  int
83 
132  int
134 
159  int
161 
176  int
178 
213  int
215 
251  int
253 
282  int
284 
314  int
316 
338  int
340 
362  int
364 
365 private:
367  boost::shared_ptr<LeaseCmdsImpl> impl_;
368 };
369 
370 };
371 };
372 
373 #endif
int leaseGetHandler(hooks::CalloutHandle &handle)
lease4-get, lease6-get command handler
Definition: lease_cmds.cc:1007
int lease4UpdateHandler(hooks::CalloutHandle &handle)
lease4-update handler
Definition: lease_cmds.cc:1032
int lease4WipeHandler(hooks::CalloutHandle &handle)
lease4-wipe handler
Definition: lease_cmds.cc:1042
Per-packet callout handle.
Implements the logic for processing commands pertaining to lease manipulation.
Definition: lease_cmds.h:26
int leaseAddHandler(hooks::CalloutHandle &handle)
lease4-add, lease6-add command handler
Definition: lease_cmds.cc:1002
int lease6UpdateHandler(hooks::CalloutHandle &handle)
lease6-update handler
Definition: lease_cmds.cc:1037
int leaseGetPageHandler(hooks::CalloutHandle &handle)
lease4-get-page, lease6-get-page commands handler
Definition: lease_cmds.cc:1017
int leaseGetAllHandler(hooks::CalloutHandle &handle)
lease4-get-all, lease6-get-all commands handler
Definition: lease_cmds.cc:1012
int lease4DelHandler(hooks::CalloutHandle &handle)
lease4-del command handler
Definition: lease_cmds.cc:1022
Defines the logger used by the top-level component of kea-dhcp-ddns.
int lease6WipeHandler(hooks::CalloutHandle &handle)
lease6-wipe handler
Definition: lease_cmds.cc:1047
int lease6DelHandler(hooks::CalloutHandle &handle)
lease6-del command handler
Definition: lease_cmds.cc:1027