Commit e5f2e38c authored by Baptiste Jonglez's avatar Baptiste Jonglez
Browse files

Go back to development after 1.3.3 release

parent 96f493c8
// File created from src/messages.mes on Thu Feb 27 2020 11:21
#include <cstddef>
#include <log/message_types.h>
#include <log/message_initializer.h>
extern const isc::log::MessageID RUNSCRIPT_EXEC_FAILED = "RUNSCRIPT_EXEC_FAILED";
extern const isc::log::MessageID RUNSCRIPT_FORK_FAILED = "RUNSCRIPT_FORK_FAILED";
extern const isc::log::MessageID RUNSCRIPT_MISSING_PARAM = "RUNSCRIPT_MISSING_PARAM";
extern const isc::log::MessageID RUNSCRIPT_MISTYPED_PARAM = "RUNSCRIPT_MISTYPED_PARAM";
extern const isc::log::MessageID RUNSCRIPT_WAITING_SCRIPT = "RUNSCRIPT_WAITING_SCRIPT";
extern const isc::log::MessageID RUNSCRIPT_WAITPID_FAILED = "RUNSCRIPT_WAITPID_FAILED";
namespace {
const char* values[] = {
"RUNSCRIPT_EXEC_FAILED", "exec() failed, please check that the script exists and is executable. Error: %1",
"RUNSCRIPT_FORK_FAILED", "fork() failed with error: %1",
"RUNSCRIPT_MISSING_PARAM", "required parameter \"%1\" missing in configuration",
"RUNSCRIPT_MISTYPED_PARAM", "parameter \"%1\" in configuration has wrong type",
"RUNSCRIPT_WAITING_SCRIPT", "the user-defined script is running, and the main process is currently waiting",
"RUNSCRIPT_WAITPID_FAILED", "waitpid() failed with error: %1",
NULL
};
const isc::log::MessageInitializer initializer(values);
} // Anonymous namespace
// File created from src/messages.mes on Thu Feb 27 2020 11:21
#ifndef MESSAGES_H
#define MESSAGES_H
#include <log/message_types.h>
extern const isc::log::MessageID RUNSCRIPT_EXEC_FAILED;
extern const isc::log::MessageID RUNSCRIPT_FORK_FAILED;
extern const isc::log::MessageID RUNSCRIPT_MISSING_PARAM;
extern const isc::log::MessageID RUNSCRIPT_MISTYPED_PARAM;
extern const isc::log::MessageID RUNSCRIPT_WAITING_SCRIPT;
extern const isc::log::MessageID RUNSCRIPT_WAITPID_FAILED;
#endif // MESSAGES_H
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment