1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// File created from ../../../../src/hooks/dhcp/run_script/run_script_messages.mes

#include <cstddef><--- Include file:  not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <log/message_types.h>
#include <log/message_initializer.h>

extern const isc::log::MessageID RUN_SCRIPT_LOAD = "RUN_SCRIPT_LOAD";
extern const isc::log::MessageID RUN_SCRIPT_LOAD_ERROR = "RUN_SCRIPT_LOAD_ERROR";
extern const isc::log::MessageID RUN_SCRIPT_UNLOAD = "RUN_SCRIPT_UNLOAD";

namespace {

const char* values[] = {
    "RUN_SCRIPT_LOAD", "Run Script hooks library has been loaded",
    "RUN_SCRIPT_LOAD_ERROR", "Run Script hooks library failed: %1",
    "RUN_SCRIPT_UNLOAD", "Run Script hooks library has been unloaded",
    NULL
};

const isc::log::MessageInitializer initializer(values);

} // Anonymous namespace