]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5314] Empty status added
authorTomek Mrugalski <tomasz@isc.org>
Thu, 10 Aug 2017 13:02:41 +0000 (15:02 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 10 Aug 2017 13:02:41 +0000 (15:02 +0200)
 - 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.

src/lib/cc/command_interpreter.h

index a0bad85d77ecbe9b8ac529c2ced97c0079e3f167..133e37af0d8b572a35bd3fd23bf8e22164eb2e5d 100644 (file)
@@ -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 {