Searched hist:bae91350cc4bad07b841037f078c0df282beffbf (Results 1 – 2 of 2) sorted by relevance
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | pack.cpp | diff bae91350cc4bad07b841037f078c0df282beffbf Wed Apr 03 14:11:08 CDT 2019 Vernon Mauery <vernon.mauery@linux.intel.com> Add support for returning optional values
Some commands have optional return values. This allows the handlers to be defined as returning an optional<T> value and then in the body of the handler set the value in the optional or not.
Tested-by: unit test runs successfully
Change-Id: Ib38a4589609fb1eb192106e511c9ee3a507ac42f Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
|
/openbmc/phosphor-host-ipmid/include/ipmid/message/ |
H A D | pack.hpp | diff bae91350cc4bad07b841037f078c0df282beffbf Wed Apr 03 14:11:08 CDT 2019 Vernon Mauery <vernon.mauery@linux.intel.com> Add support for returning optional values
Some commands have optional return values. This allows the handlers to be defined as returning an optional<T> value and then in the body of the handler set the value in the optional or not.
Tested-by: unit test runs successfully
Change-Id: Ib38a4589609fb1eb192106e511c9ee3a507ac42f Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
|