summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/fix/checksum.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-02-26 22:56:57 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-02-26 22:56:57 +0100
commitc5b3eb06fd0fd4f1f29b5c76c1b8865c55b88ea9 (patch)
tree7e5a272f007376d73278584f1345881d57895946 /include/ocl/fix/checksum.hpp
parent9314dede83ef22422c81388b58100d01b85dd7bb (diff)
feat: fix/fix.inl: introduce ocl/fix.inl header.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/fix/checksum.hpp')
-rw-r--r--include/ocl/fix/checksum.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ocl/fix/checksum.hpp b/include/ocl/fix/checksum.hpp
index e1ed745..2672996 100644
--- a/include/ocl/fix/checksum.hpp
+++ b/include/ocl/fix/checksum.hpp
@@ -2,7 +2,7 @@
* File: fix/checksum.hpp
* Purpose: Financial Information Exchange checksum in C++
* Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
+ * Copyright 2025-2026, Amlal El Mahrouss, licensed under the Boost Software License.
*/
#ifndef OCL_FIX_CHECKSUM
@@ -34,6 +34,7 @@ namespace ocl::fix
/// \brief FIX message operators namespace.
namespace operators
{
+
using checksum_type = long long;
/// \brief Calculates the FIX protocol checksum for a message.
@@ -53,6 +54,7 @@ namespace ocl::fix
cks += 1;
return cks % 256;
}
+
} // namespace operators
} // namespace ocl::fix