Kea: flex_option_messages.cc Source File

| Kea 3.2.0-git

flex_option_messages.cc
Go to the documentation of this file.
1// File created from src/hooks/dhcp/flex_option/flex_option_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
5#include <log/message_initializer.h>
6
7extern const isc::log::MessageID FLEX_OPTION_LOAD_ERROR = "FLEX_OPTION_LOAD_ERROR";
8extern const isc::log::MessageID FLEX_OPTION_PROCESS_ADD = "FLEX_OPTION_PROCESS_ADD";
9extern const isc::log::MessageID FLEX_OPTION_PROCESS_CLIENT_CLASS = "FLEX_OPTION_PROCESS_CLIENT_CLASS";
10extern const isc::log::MessageID FLEX_OPTION_PROCESS_ERROR = "FLEX_OPTION_PROCESS_ERROR";
11extern const isc::log::MessageID FLEX_OPTION_PROCESS_REMOVE = "FLEX_OPTION_PROCESS_REMOVE";
12extern const isc::log::MessageID FLEX_OPTION_PROCESS_SUB_ADD = "FLEX_OPTION_PROCESS_SUB_ADD";
13extern const isc::log::MessageID FLEX_OPTION_PROCESS_SUB_CLIENT_CLASS = "FLEX_OPTION_PROCESS_SUB_CLIENT_CLASS";
14extern const isc::log::MessageID FLEX_OPTION_PROCESS_SUB_REMOVE = "FLEX_OPTION_PROCESS_SUB_REMOVE";
15extern const isc::log::MessageID FLEX_OPTION_PROCESS_SUB_SUPERSEDE = "FLEX_OPTION_PROCESS_SUB_SUPERSEDE";
16extern const isc::log::MessageID FLEX_OPTION_PROCESS_SUPERSEDE = "FLEX_OPTION_PROCESS_SUPERSEDE";
17extern const isc::log::MessageID FLEX_OPTION_PROCESS_VENDOR_ID_MISMATCH = "FLEX_OPTION_PROCESS_VENDOR_ID_MISMATCH";
18extern const isc::log::MessageID FLEX_OPTION_UNLOAD = "FLEX_OPTION_UNLOAD";
19
20namespace {
21
22const char* values[] = {
23 "FLEX_OPTION_LOAD_ERROR", "loading Flex Option hooks library failed: %1",
24 "FLEX_OPTION_PROCESS_ADD", "Added the option code %1 with value %2",
25 "FLEX_OPTION_PROCESS_CLIENT_CLASS", "Skip processing of the option code %1 for class '%2'",
26 "FLEX_OPTION_PROCESS_ERROR", "An error occurred processing query %1: %2",
27 "FLEX_OPTION_PROCESS_REMOVE", "Removed option code %1",
28 "FLEX_OPTION_PROCESS_SUB_ADD", "Added the sub-option code %1 in option code %2 with value %3",
29 "FLEX_OPTION_PROCESS_SUB_CLIENT_CLASS", "Skip processing of the sub-option code %1 in option code %2 for class '%3'",
30 "FLEX_OPTION_PROCESS_SUB_REMOVE", "Removed sub-option code %1 in option code %2",
31 "FLEX_OPTION_PROCESS_SUB_SUPERSEDE", "Supersedes the sub-option code %1 in option code %2 with value %3",
32 "FLEX_OPTION_PROCESS_SUPERSEDE", "Supersedes the option code %1 with value %2",
33 "FLEX_OPTION_PROCESS_VENDOR_ID_MISMATCH", "Skip processing of vendor option code %1 with vendor id %2 not matching wanted %3",
34 "FLEX_OPTION_UNLOAD", "Flex Option hooks library has been unloaded",
35 NULL
36};
37
38const isc::log::MessageInitializer initializer(values);
39
40} // Anonymous namespace
41
isc::log::MessageInitializer
Initialize Message Dictionary.
Definition message_initializer.h:72
FLEX_OPTION_PROCESS_ERROR
const isc::log::MessageID FLEX_OPTION_PROCESS_ERROR
FLEX_OPTION_PROCESS_VENDOR_ID_MISMATCH
const isc::log::MessageID FLEX_OPTION_PROCESS_VENDOR_ID_MISMATCH
FLEX_OPTION_PROCESS_CLIENT_CLASS
const isc::log::MessageID FLEX_OPTION_PROCESS_CLIENT_CLASS
FLEX_OPTION_PROCESS_ADD
const isc::log::MessageID FLEX_OPTION_PROCESS_ADD
FLEX_OPTION_LOAD_ERROR
const isc::log::MessageID FLEX_OPTION_LOAD_ERROR
FLEX_OPTION_PROCESS_SUB_SUPERSEDE
const isc::log::MessageID FLEX_OPTION_PROCESS_SUB_SUPERSEDE
FLEX_OPTION_PROCESS_SUB_CLIENT_CLASS
const isc::log::MessageID FLEX_OPTION_PROCESS_SUB_CLIENT_CLASS
FLEX_OPTION_PROCESS_REMOVE
const isc::log::MessageID FLEX_OPTION_PROCESS_REMOVE
FLEX_OPTION_PROCESS_SUPERSEDE
const isc::log::MessageID FLEX_OPTION_PROCESS_SUPERSEDE
FLEX_OPTION_UNLOAD
const isc::log::MessageID FLEX_OPTION_UNLOAD
FLEX_OPTION_PROCESS_SUB_ADD
const isc::log::MessageID FLEX_OPTION_PROCESS_SUB_ADD
FLEX_OPTION_PROCESS_SUB_REMOVE
const isc::log::MessageID FLEX_OPTION_PROCESS_SUB_REMOVE
message_initializer.h
message_types.h
isc::log::MessageID
const char * MessageID
Definition message_types.h:15