mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
clang-format this branch to match dev
This commit is contained in:
parent
dcb4bc5ef4
commit
5eb3cd2699
133 changed files with 18805 additions and 17036 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue