aboutsummaryrefslogtreecommitdiff
path: root/decoder/include/common/ocsd_error.h
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2023-03-27 15:14:10 +0000
committerRuslan Bukin <br@FreeBSD.org>2023-03-27 15:23:28 +0000
commit974000f192f9f74654b8835361cf35e606a10a76 (patch)
treec3aabe2b3d219cca63f0b426a2098bcdf9e9ac65 /decoder/include/common/ocsd_error.h
parentd7aa8d0a1f110421252d79f5acfb72d89187ad1f (diff)
Diffstat (limited to 'decoder/include/common/ocsd_error.h')
-rw-r--r--decoder/include/common/ocsd_error.h11
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;
+};
/** @}*/