From 84cc6ff6f43b48383248282743efc514946db641 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 28 Mar 2024 13:05:28 +0100 Subject: Kernel: :boom: breaking changes, Update API and the HCORE based macros, rename HCore to NewOS. Signed-off-by: Amlal El Mahrouss --- Private/NetworkKit/IP.hpp | 4 ++-- Private/NetworkKit/MAC.hxx | 4 ++-- Private/NetworkKit/NetworkDevice.hpp | 4 ++-- Private/NetworkKit/NetworkDevice.inl | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'Private/NetworkKit') diff --git a/Private/NetworkKit/IP.hpp b/Private/NetworkKit/IP.hpp index d2d73b17..3d7119da 100644 --- a/Private/NetworkKit/IP.hpp +++ b/Private/NetworkKit/IP.hpp @@ -11,7 +11,7 @@ #include #include -namespace HCore { +namespace NewOS { class RawIPAddress6; class RawIPAddress; class IPFactory; @@ -73,4 +73,4 @@ class IPFactory final { static ErrorOr ToStringView(Ref ipv4); static bool IpCheckVersion4(const char *ip); }; -} // namespace HCore +} // namespace NewOS diff --git a/Private/NetworkKit/MAC.hxx b/Private/NetworkKit/MAC.hxx index fb11ae2b..59f4b31f 100644 --- a/Private/NetworkKit/MAC.hxx +++ b/Private/NetworkKit/MAC.hxx @@ -10,7 +10,7 @@ #include #include -namespace HCore { +namespace NewOS { class MacAddressGetter; /// \brief This retrieves the MAC address of the device. @@ -24,4 +24,4 @@ class MacAddressGetter final { Array& AsBytes(); }; -} // namespace HCore +} // namespace NewOS diff --git a/Private/NetworkKit/NetworkDevice.hpp b/Private/NetworkKit/NetworkDevice.hpp index d85cb939..24106478 100644 --- a/Private/NetworkKit/NetworkDevice.hpp +++ b/Private/NetworkKit/NetworkDevice.hpp @@ -10,7 +10,7 @@ #include #include -namespace HCore { +namespace NewOS { struct NetworkDeviceCommand; class NetworkDevice; @@ -55,7 +55,7 @@ using PPPNetworkDevice = NetworkDevice; /// @brief HPC device. using HPCNetworkDevice = NetworkDevice; -} // namespace HCore +} // namespace NewOS #include diff --git a/Private/NetworkKit/NetworkDevice.inl b/Private/NetworkKit/NetworkDevice.inl index 0780a0b0..30b65f55 100644 --- a/Private/NetworkKit/NetworkDevice.inl +++ b/Private/NetworkKit/NetworkDevice.inl @@ -8,7 +8,7 @@ Dtor and ctors. */ -namespace HCore { +namespace NewOS { NetworkDevice::NetworkDevice(void (*out)(NetworkDeviceCommand), void (*in)(NetworkDeviceCommand), void (*on_cleanup)(void)) @@ -24,4 +24,4 @@ NetworkDevice::~NetworkDevice() { kcout << "NK: NetworkDevice cleanup.\r\n"; if (fCleanup) fCleanup(); } -} // namespace HCore \ No newline at end of file +} // namespace NewOS \ No newline at end of file -- cgit v1.2.3