Browse Source

[5314] Empty status added

 - it's a copy 5272 code added that's already on master,
   but it seems easier to add it on a branch than go through
   the whole rebase process.
Tomek Mrugalski 7 years ago
parent
commit
b0572c95a8
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/lib/cc/command_interpreter.h

+ 5 - 0
src/lib/cc/command_interpreter.h

@@ -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 {