summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--example/fix_tag_example/example.cpp1
-rw-r--r--include/ocl/fix.hpp11
-rw-r--r--include/ocl/fix.inl1
-rw-r--r--include/ocl/fix/checksum.hpp11
-rw-r--r--include/ocl/fix/detail/config.hpp11
-rw-r--r--include/ocl/fix/parser.hpp8
-rw-r--r--src/fix/checksum.cpp11
-rw-r--r--src/fix/parser.cpp12
-rw-r--r--test/fix_basic/fix.test.cpp11
9 files changed, 34 insertions, 43 deletions
diff --git a/example/fix_tag_example/example.cpp b/example/fix_tag_example/example.cpp
index 8d580a5..294291c 100644
--- a/example/fix_tag_example/example.cpp
+++ b/example/fix_tag_example/example.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/ocl/fix.hpp b/include/ocl/fix.hpp
index dcd9c41..377ad1e 100644
--- a/include/ocl/fix.hpp
+++ b/include/ocl/fix.hpp
@@ -1,9 +1,8 @@
-/*
- * File: fix.hpp
- * Purpose: Financial Information Exchange function and headers in C++
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025-2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/fix
#ifndef OCL_FIX_HPP
#define OCL_FIX_HPP
diff --git a/include/ocl/fix.inl b/include/ocl/fix.inl
index d46f101..4764463 100644
--- a/include/ocl/fix.inl
+++ b/include/ocl/fix.inl
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/ocl/fix/checksum.hpp b/include/ocl/fix/checksum.hpp
index 5d9fa8b..fc4aa9a 100644
--- a/include/ocl/fix/checksum.hpp
+++ b/include/ocl/fix/checksum.hpp
@@ -1,9 +1,8 @@
-/*
- * File: fix/checksum.hpp
- * Purpose: Financial Information Exchange checksum in C++
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025-2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/fix
#ifndef OCL_FIX_CHECKSUM
#define OCL_FIX_CHECKSUM
diff --git a/include/ocl/fix/detail/config.hpp b/include/ocl/fix/detail/config.hpp
index a6e6fb9..873beae 100644
--- a/include/ocl/fix/detail/config.hpp
+++ b/include/ocl/fix/detail/config.hpp
@@ -1,9 +1,8 @@
-/*
- * File: detail/config.hpp
- * Purpose: Config file of the OCL.FIX library.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025-2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/fix
#ifndef OCL_FIX_CONFIG
#define OCL_FIX_CONFIG
diff --git a/include/ocl/fix/parser.hpp b/include/ocl/fix/parser.hpp
index 337b0b3..ba36664 100644
--- a/include/ocl/fix/parser.hpp
+++ b/include/ocl/fix/parser.hpp
@@ -1,10 +1,4 @@
-/*
- * File: fix/parser.hpp
- * Purpose: Financial Information Exchange parser in C++
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025-2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
-
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/src/fix/checksum.cpp b/src/fix/checksum.cpp
index e8e155f..ab91a6d 100644
--- a/src/fix/checksum.cpp
+++ b/src/fix/checksum.cpp
@@ -1,9 +1,8 @@
-/*
- * File: fix/checksum.cpp
- * Purpose: Financial Information Exchange parser in C++
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/fix
#include <ocl/fix/checksum.hpp>
diff --git a/src/fix/parser.cpp b/src/fix/parser.cpp
index d12056b..b1cf353 100644
--- a/src/fix/parser.cpp
+++ b/src/fix/parser.cpp
@@ -1,9 +1,9 @@
-/*
- * File: fix/parser.cpp
- * Purpose: Financial Information Exchange parser in C++
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025-2026, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/fix
+
#define OCL_FIX_HAS_IMPL
#include <ocl/fix/parser.hpp>
diff --git a/test/fix_basic/fix.test.cpp b/test/fix_basic/fix.test.cpp
index 43042b4..f629d0b 100644
--- a/test/fix_basic/fix.test.cpp
+++ b/test/fix_basic/fix.test.cpp
@@ -1,9 +1,8 @@
-/*
- * File: tests/fix_test.cc
- * Purpose: Custom FIX protocol tests.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// Official repository: https://github.com/ocl-foss-org/fix
#include <ocl/fix/parser.hpp>
#include <gtest/gtest.h>