From 2c2cdfddd3c7189cd9639b92f2204427d0aa1f8a Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 19 Apr 2025 22:55:52 +0200 Subject: [PATCH] [DHCPCSVC] Move the public header rosdhcp_public.h This header is not to be used outside of dhcpcsvc because it contains the data structures for the communication between the client and the server part within dhcpcsvc. That is why it is moved inside of dhcpcsvc and renamed to rosdhcp_pipe.h. --- base/services/dhcpcsvc/include/rosdhcp.h | 2 +- .../services/dhcpcsvc/include/rosdhcp_pipe.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename sdk/include/reactos/libs/dhcp/rosdhcp_public.h => base/services/dhcpcsvc/include/rosdhcp_pipe.h (92%) diff --git a/base/services/dhcpcsvc/include/rosdhcp.h b/base/services/dhcpcsvc/include/rosdhcp.h index 3f278a31a4f..f71ffc214f0 100644 --- a/base/services/dhcpcsvc/include/rosdhcp.h +++ b/base/services/dhcpcsvc/include/rosdhcp.h @@ -13,7 +13,7 @@ #define NTOS_MODE_USER #include #include -#include +#include #include "debug.h" diff --git a/sdk/include/reactos/libs/dhcp/rosdhcp_public.h b/base/services/dhcpcsvc/include/rosdhcp_pipe.h similarity index 92% rename from sdk/include/reactos/libs/dhcp/rosdhcp_public.h rename to base/services/dhcpcsvc/include/rosdhcp_pipe.h index 0883d84032a..52c5e8c6c3d 100644 --- a/sdk/include/reactos/libs/dhcp/rosdhcp_public.h +++ b/base/services/dhcpcsvc/include/rosdhcp_pipe.h @@ -1,5 +1,5 @@ -#ifndef ROSDHCP_PUBLIC_H -#define ROSDHCP_PUBLIC_H +#ifndef ROSDHCP_PIPE_H +#define ROSDHCP_PIPE_H enum { DhcpReqLeaseIpAddress, @@ -43,4 +43,4 @@ typedef union _COMM_DHCP_REPLY { #define DHCP_PIPE_NAME L"\\\\.\\pipe\\dhcpclient" -#endif/*ROSDHCP_PUBLIC_H*/ +#endif/*ROSDHCP_PIPE_H*/