Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
zorun
kea-hook-runscript
Commits
03086d61
Commit
03086d61
authored
Jan 31, 2020
by
Baptiste Jonglez
Browse files
Release 1.3.2
parent
d879550a
Changes
3
Hide whitespace changes
Inline
Side-by-side
s-messages
0 → 100644
View file @
03086d61
src/messages.cc
0 → 100644
View file @
03086d61
// File created from src/messages.mes on Fri Jan 31 2020 00:35
#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
src/messages.h
0 → 100644
View file @
03086d61
// File created from src/messages.mes on Fri Jan 31 2020 00:35
#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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment