Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
a030bd71
Commit
a030bd71
authored
Jan 06, 2011
by
JINMEI Tatuya
Browse files
made ModuleSpec::validate_command() a const member function
parent
d24563e0
Changes
2
Show whitespace changes
Inline
Side-by-side
src/lib/config/module_spec.cc
View file @
a030bd71
...
...
@@ -185,7 +185,7 @@ ModuleSpec::validate_config(ConstElementPtr data, const bool full) const {
bool
ModuleSpec
::
validate_command
(
const
std
::
string
&
command
,
ConstElementPtr
args
,
ElementPtr
errors
)
ElementPtr
errors
)
const
{
ConstElementPtr
commands_spec
=
module_specification
->
find
(
"commands"
);
...
...
src/lib/config/module_spec.h
View file @
a030bd71
...
...
@@ -102,7 +102,7 @@ namespace isc { namespace config {
/// false otherwise
bool
validate_command
(
const
std
::
string
&
command
,
isc
::
data
::
ConstElementPtr
args
,
isc
::
data
::
ElementPtr
errors
);
isc
::
data
::
ElementPtr
errors
)
const
;
/// errors must be of type ListElement
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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