diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-24 23:02:29 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-24 23:02:29 -0500 |
| commit | b189449b28625cec7b6ce399f999072e50efae45 (patch) | |
| tree | e0c8355c438b23969bad384410d5e0861dbd302a /include | |
| parent | bf2c4bc8c719159b4ddd1b40e032c449424abd5d (diff) | |
feat: expanding FIX module.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/ocl/core/config.hpp | 9 | ||||
| -rw-r--r-- | include/ocl/fix/checksum.hpp | 10 | ||||
| -rw-r--r-- | include/ocl/fix/parser.hpp (renamed from include/ocl/fix/fix.hpp) | 11 |
3 files changed, 21 insertions, 9 deletions
diff --git a/include/ocl/core/config.hpp b/include/ocl/core/config.hpp index de1ce76..59f2491 100644 --- a/include/ocl/core/config.hpp +++ b/include/ocl/core/config.hpp @@ -14,6 +14,15 @@ #include <boost/container/allocator.hpp> #include <boost/assert.hpp> +#include <cstddef> +#include <cassert> +#include <utility> +#include <string> +#include <vector> +#include <cstdint> +#include <sys/types.h> +#include <unistd.h> + #ifdef __cplusplus /// DLL/Dylib/So specific macro. # define OCL_EXPORT_DECL extern "C" BOOST_SYMBOL_EXPORT diff --git a/include/ocl/fix/checksum.hpp b/include/ocl/fix/checksum.hpp new file mode 100644 index 0000000..9205664 --- /dev/null +++ b/include/ocl/fix/checksum.hpp @@ -0,0 +1,10 @@ +/* + * 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. + */ + +#pragma once + +#include <core/config.hpp> diff --git a/include/ocl/fix/fix.hpp b/include/ocl/fix/parser.hpp index 85a8b70..a513a1f 100644 --- a/include/ocl/fix/fix.hpp +++ b/include/ocl/fix/parser.hpp @@ -1,5 +1,5 @@ /* - * File: fix/fix.hpp + * File: fix/parser.hpp * Purpose: Financial Information Exchange parser in C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License. @@ -8,14 +8,7 @@ #ifndef _OCL_FIX_PARSER_HPP #define _OCL_FIX_PARSER_HPP -#include <cstddef> -#include <cassert> -#include <utility> -#include <string> -#include <vector> -#include <cstdint> -#include <sys/types.h> -#include <unistd.h> +#include <core/config.hpp> namespace ocl::fix { |
