1 #pragma once
2 
3 #include <filesystem>
4 #include <string>
5 
6 namespace fs = std::filesystem;
7 constexpr auto statusFile = "/run/dhcp_status";
8 
9 // Function to read contents from a file
10 std::string fileRead(const fs::path& filename);
11 
12 // Function to write contents to a file atomically
13 void fileWrite(const fs::path& filename, const std::string& data);
14