clang-format

This commit is contained in:
Adam Ierymenko 2025-07-03 11:26:23 -04:00
commit ba2a4a605c
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
140 changed files with 19214 additions and 17403 deletions

View file

@ -1,24 +1,22 @@
#ifndef WIN_DNS_HELPER_H_
#define WIN_DNS_HELPER_H_
#include <vector>
#include <cstdint>
#include "../node/InetAddress.hpp"
#include <cstdint>
#include <vector>
namespace ZeroTier
{
namespace ZeroTier {
class WinDNSHelper
{
public:
class WinDNSHelper {
public:
static void setDNS(uint64_t nwid, const char* domain, const std::vector<InetAddress>& servers);
static void removeDNS(uint64_t nwid);
private:
private:
static std::pair<bool, std::string> hasDNSConfig(uint64_t nwid);
};
}
} // namespace ZeroTier
#endif