Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian Schrader
Kea
Commits
592492ea
Commit
592492ea
authored
Aug 01, 2017
by
Tomek Mrugalski
🛰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[5272] New control result added (3 = empty)
parent
c16e3e91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/lib/cc/command_interpreter.h
src/lib/cc/command_interpreter.h
+6
-1
src/lib/cc/data.h
src/lib/cc/data.h
+1
-1
No files found.
src/lib/cc/command_interpreter.h
View file @
592492ea
// Copyright (C) 2009-201
5,201
7 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2009-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
...
...
@@ -41,6 +41,11 @@ const int CONTROL_RESULT_ERROR = 1;
/// @brief Status code indicating that the specified command is not supported.
const
int
CONTROL_RESULT_COMMAND_UNSUPPORTED
=
2
;
/// @brief Status code indicating that the specified command was completed
/// correctly, but failed to produce any results. For example, get
/// completed the search, but couldn't find the object it was looking for.
const
int
CONTROL_RESULT_EMPTY
=
3
;
/// @brief A standard control channel exception that is thrown if a function
/// is there is a problem with one of the messages
class
CtrlChannelError
:
public
isc
::
Exception
{
...
...
src/lib/cc/data.h
View file @
592492ea
...
...
@@ -326,7 +326,7 @@ public:
virtual
void
remove
(
const
std
::
string
&
name
);
/// Checks if there is data at the given key
/// @param name The key of the Element
to remov
e
/// @param name The key of the Element
checked for existenc
e
/// @return true if there is data at the key, false if not.
virtual
bool
contains
(
const
std
::
string
&
name
)
const
;
...
...
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