kea-custom-hooks
FeM custom hooks libraries for Kea DHCP
Namespaces | Functions | Variables
init.cpp File Reference

Starting and stopping points for the Kea hook. More...

#include <fstream>
#include <pqxx/except>
#include <cc/command_interpreter.h>
#include <hooks/hooks.h>
#include <log/macros.h>
#include "AdminDBClient.hpp"
#include "Config.hpp"
#include "LocalDBClient.hpp"
#include "callout.hpp"
#include "common_vars.hpp"
#include "log_admindb_host_reservation_importer.h"

Go to the source code of this file.

Namespaces

namespace  ahri
 
namespace  ahri::globals
 Library-global variables.
 

Functions

int unload ()
 
int load (isc::hooks::LibraryHandle &hdl)
 

Variables

isc::asiolink::IOServicePtr ahri::globals::io_context {nullptr}
 

Detailed Description

Starting and stopping points for the Kea hook.

This file contains the load and unload functions for initializing the hook and cleaning up before unloading it.

Definition in file init.cpp.

Function Documentation

◆ load()

int load ( isc::hooks::LibraryHandle &  hdl)

Definition at line 51 of file init.cpp.

◆ unload()

int unload ( )

Definition at line 134 of file init.cpp.