From: Tomek Mrugalski Date: Thu, 10 Aug 2017 13:02:41 +0000 (+0200) Subject: [5314] Empty status added X-Git-Tag: trac5124a_base~9^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0572c95a8ba8533fe4ad554995bd238cbb0bf62;p=thirdparty%2Fkea.git [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. --- diff --git a/src/lib/cc/command_interpreter.h b/src/lib/cc/command_interpreter.h index a0bad85d77..133e37af0d 100644 --- a/src/lib/cc/command_interpreter.h +++ b/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 {