#define LOG_INFO(LOGGER, MESSAGE)
Macro to conveniently test info output and log it.
void registerCommandCallout(const std::string &command_name, CalloutPtr callout)
Register control command handler.
Implements the logic for processing commands pertaining to stat manipulation.
Per-packet callout handle.
int stat_lease4_get(CalloutHandle &handle)
This is a command callout for 'stat-lease4-get' command.
int load(LibraryHandle &handle)
This function is called when the library is loaded.
int statLease4GetHandler(hooks::CalloutHandle &handle)
stat-lease4-get command handler
int stat_lease6_get(CalloutHandle &handle)
This is a command callout for 'stat-lease6-get' command.
int statLease6GetHandler(hooks::CalloutHandle &handle)
stat-lease6-get command handler
This file contains several functions and constants that are used for handling commands and responses ...
int unload()
This function is called when the library is unloaded.
isc::log::Logger stat_cmds_logger("stat-cmds-hooks")