diff options
author | Ruslan Bukin <br@FreeBSD.org> | 2023-03-27 15:14:10 +0000 |
---|---|---|
committer | Ruslan Bukin <br@FreeBSD.org> | 2023-03-27 15:23:28 +0000 |
commit | 974000f192f9f74654b8835361cf35e606a10a76 (patch) | |
tree | c3aabe2b3d219cca63f0b426a2098bcdf9e9ac65 /decoder/include/common/ocsd_error.h | |
parent | d7aa8d0a1f110421252d79f5acfb72d89187ad1f (diff) |
Diffstat (limited to 'decoder/include/common/ocsd_error.h')
-rw-r--r-- | decoder/include/common/ocsd_error.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/decoder/include/common/ocsd_error.h b/decoder/include/common/ocsd_error.h index e547f4878033..7c6ed3af141f 100644 --- a/decoder/include/common/ocsd_error.h +++ b/decoder/include/common/ocsd_error.h @@ -108,6 +108,17 @@ inline ocsdError& ocsdError::operator=(const ocsdError &err) return (*this = &err); } +/* class to get data path response values as strings */ +class ocsdDataRespStr +{ +public: + ocsdDataRespStr(ocsd_datapath_resp_t type) { m_type = type; } + ~ocsdDataRespStr() {}; + + const char* getStr(); +private: + ocsd_datapath_resp_t m_type; +}; /** @}*/ |