Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
e868d5b1
Commit
e868d5b1
authored
Feb 27, 2017
by
Marcin Siodelski
Browse files
[5134] Fixed some typos, commentaries and copyright dates.
parent
77bfbf39
Changes
10
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
e868d5b1
...
...
@@ -1638,7 +1638,7 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/bin/admin/tests/mysql_tests.sh
src/bin/admin/tests/pgsql_tests.sh
src/bin/admin/tests/cql_tests.sh
src/bin/agent/tests/test_libraries.h
src/bin/agent/tests/test_libraries.h
src/hooks/Makefile
src/hooks/dhcp/Makefile
src/hooks/dhcp/user_chk/Makefile
...
...
src/bin/agent/ctrl_agent_cfg_mgr.cc
View file @
e868d5b1
// Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2016
-2017
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
src/bin/agent/ctrl_agent_cfg_mgr.h
View file @
e868d5b1
// Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2016
-2017
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
@@ -72,28 +72,30 @@ public:
ctrl_sockets_
[
static_cast
<
uint8_t
>
(
type
)]
=
control_socket
;
}
/// @brief
s
ets http-host parameter
/// @brief
S
ets http-host parameter
///
/// @param host hostname to be used during http socket creation
/// @param host Hostname or IP address where the agent's HTTP service
/// will be available.
void
setHost
(
const
std
::
string
&
host
)
{
http_host_
=
host
;
}
/// @brief
r
eturns http-host parameter
/// @brief
R
eturns http-host parameter
///
/// @return name of the http-host parameter
/// @return Hostname or IP address where the agent's HTTP service is
/// available.
std
::
string
getHost
()
const
{
return
(
http_host_
);
}
/// @brief Sets http port
///
/// @param port sets the TCP port the
http
server will listen on
/// @param port sets the TCP port the
HTTP
server will listen on
void
setPort
(
const
uint16_t
port
)
{
http_port_
=
port
;
}
/// @brief Returns the TCP post the
http
server will listen on
/// @brief Returns the TCP post the
HTTP
server will listen on
uint16_t
getPort
()
const
{
return
(
http_port_
);
}
...
...
@@ -114,6 +116,8 @@ public:
private:
/// @brief Private assignment operator to avoid potential for slicing.
///
/// @param rhs Context to be assigned.
CtrlAgentCfgContext
&
operator
=
(
const
CtrlAgentCfgContext
&
rhs
);
/// Socket information will be stored here (for all supported servers)
...
...
@@ -160,6 +164,12 @@ public:
protected:
/// @brief Parses configuration of the Control Agent.
///
/// @param config Pointer to a configuration specified for the agent.
/// @param check_only Boolean flag indicating if this method should
/// only verify correctness of the provided conifiguration.
/// @return Pointer to a result of configuration parsing.
virtual
isc
::
data
::
ConstElementPtr
parse
(
isc
::
data
::
ConstElementPtr
config
,
bool
check_only
);
...
...
src/bin/agent/ctrl_agent_process.h
View file @
e868d5b1
// Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2016
-2017
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
src/bin/agent/tests/ctrl_agent_cfg_mgr_unittest.cc
View file @
e868d5b1
// Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2016
-2017
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
@@ -198,7 +198,7 @@ public:
EXPECT_TRUE
(
checkAnswer
(
expected_answer
));
}
/// @brief Re
e
places %LIBRARY% with specified library name
/// @brief Replaces %LIBRARY% with specified library name
///
/// @param config input config text (should contain "%LIBRARY%" string)
/// @param lib_name %LIBRARY% will be replaced with that name
...
...
src/lib/cc/tests/command_interpreter_unittests.cc
View file @
e868d5b1
// Copyright (C) 2009-201
5
Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2009-201
7
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
src/lib/process/d_controller.cc
View file @
e868d5b1
// Copyright (C) 2013-201
6
Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2013-201
7
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
src/lib/process/d_process.h
View file @
e868d5b1
// Copyright (C) 2013-201
6
Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2013-201
7
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
src/lib/process/testutils/d_test_stubs.cc
View file @
e868d5b1
// Copyright (C) 2013-201
6
Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2013-201
7
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
src/lib/process/testutils/d_test_stubs.h
View file @
e868d5b1
// Copyright (C) 2013-201
6
Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2013-201
7
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
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