summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-02-27 06:53:15 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-02-27 06:53:15 +0100
commit2aa0d54e5361997246d375e1306e3d69cd9a892c (patch)
tree08faea97e406b456b273a2e8267061a61ebcc187 /include
parent8346ccbff5d2f99380a6c038d0e076c9694ce7ba (diff)
chore: update print.hpp, add asio.hpp helper header.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/ocl/asio.hpp15
-rw-r--r--include/ocl/print.hpp2
2 files changed, 16 insertions, 1 deletions
diff --git a/include/ocl/asio.hpp b/include/ocl/asio.hpp
new file mode 100644
index 0000000..524eb61
--- /dev/null
+++ b/include/ocl/asio.hpp
@@ -0,0 +1,15 @@
+// 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-org/core
+
+#ifndef OCL_CORE_ASIO
+#define OCL_CORE_ASIO
+
+#include <boost/asio/co_spawn.hpp>
+#include <boost/asio/detached.hpp>
+#include <boost/asio/io_context.hpp>
+#include <boost/asio/write.hpp>
+#include <boost/asio/read.hpp>
+
+#endif
diff --git a/include/ocl/print.hpp b/include/ocl/print.hpp
index da0f65e..0d9d0fc 100644
--- a/include/ocl/print.hpp
+++ b/include/ocl/print.hpp
@@ -1,4 +1,4 @@
-// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org)
+// 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-org/core