![]() |
Kea 2.2.0
|
#include <config.h>#include <stat_cmds.h>#include <stat_cmds_log.h>#include <cc/command_interpreter.h>#include <hooks/hooks.h>
Include dependency graph for stat_cmds_callouts.cc:Go to the source code of this file.
Functions | |
| int | load (LibraryHandle &handle) |
| This function is called when the library is loaded. More... | |
| int | multi_threading_compatible () |
| This function is called to retrieve the multi-threading compatibility. More... | |
| int | stat_lease4_get (CalloutHandle &handle) |
| This is a command callout for 'stat-lease4-get' command. More... | |
| int | stat_lease6_get (CalloutHandle &handle) |
| This is a command callout for 'stat-lease6-get' command. More... | |
| int | unload () |
| This function is called when the library is unloaded. More... | |
| int load | ( | LibraryHandle & | handle | ) |
This function is called when the library is loaded.
| handle | library handle |
Definition at line 49 of file stat_cmds_callouts.cc.
References LOG_INFO, isc::hooks::LibraryHandle::registerCommandCallout(), STAT_CMDS_INIT_OK, isc::stat_cmds::stat_cmds_logger, stat_lease4_get(), and stat_lease6_get().
Here is the call graph for this function:| int multi_threading_compatible | ( | ) |
This function is called to retrieve the multi-threading compatibility.
Definition at line 67 of file stat_cmds_callouts.cc.
| int stat_lease4_get | ( | CalloutHandle & | handle | ) |
This is a command callout for 'stat-lease4-get' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 29 of file stat_cmds_callouts.cc.
References isc::stat_cmds::StatCmds::statLease4GetHandler().
Referenced by load().
Here is the call graph for this function:| int stat_lease6_get | ( | CalloutHandle & | handle | ) |
This is a command callout for 'stat-lease6-get' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 40 of file stat_cmds_callouts.cc.
References isc::stat_cmds::StatCmds::statLease6GetHandler().
Referenced by load().
Here is the call graph for this function:| int unload | ( | ) |
This function is called when the library is unloaded.
Definition at line 59 of file stat_cmds_callouts.cc.
References LOG_INFO, STAT_CMDS_DEINIT_OK, and isc::stat_cmds::stat_cmds_logger.