mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 02:40:13 +00:00
Get stuff building on Windows
Been a minute since any of this has been updated
This commit is contained in:
parent
85a5b0b948
commit
6868e98904
@ -585,7 +585,7 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpGET(
|
||||
responseBody.reserve((members.size() + 2) * 32);
|
||||
std::string mid;
|
||||
for(auto member=members.begin();member!=members.end();++member) {
|
||||
mid = (*member)["id"];
|
||||
mid = OSUtils::jsonString((*member)["id"], "");
|
||||
char tmp[128];
|
||||
OSUtils::ztsnprintf(tmp,sizeof(tmp),"%s\"%s\":%llu",(responseBody.length() > 1) ? "," : "",mid.c_str(),(unsigned long long)OSUtils::jsonInt((*member)["revision"],0));
|
||||
responseBody.append(tmp);
|
||||
|
@ -1290,4 +1290,9 @@ void WindowsEthernetTap::_syncIps()
|
||||
}
|
||||
}
|
||||
|
||||
void WindowsEthernetTap::setDns(const char* domain, const std::vector<InetAddress>& servers)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
} // namespace ZeroTier
|
||||
|
@ -97,6 +97,7 @@ public:
|
||||
virtual void setFriendlyName(const char *friendlyName);
|
||||
virtual void scanMulticastGroups(std::vector<MulticastGroup> &added,std::vector<MulticastGroup> &removed);
|
||||
virtual void setMtu(unsigned int mtu);
|
||||
virtual void setDns(const char* domain, const std::vector<InetAddress> &servers);
|
||||
|
||||
inline const NET_LUID &luid() const { return _deviceLuid; }
|
||||
inline const GUID &guid() const { return _deviceGuid; }
|
||||
|
@ -33,7 +33,6 @@
|
||||
<ClCompile Include="..\..\controller\FileDB.cpp" />
|
||||
<ClCompile Include="..\..\controller\LFDB.cpp" />
|
||||
<ClCompile Include="..\..\controller\PostgreSQL.cpp" />
|
||||
<ClCompile Include="..\..\controller\RabbitMQ.cpp" />
|
||||
<ClCompile Include="..\..\ext\http-parser\http_parser.c" />
|
||||
<ClCompile Include="..\..\ext\libnatpmp\getgateway.c" />
|
||||
<ClCompile Include="..\..\ext\libnatpmp\natpmp.c" />
|
||||
@ -51,6 +50,8 @@
|
||||
<ClCompile Include="..\..\ext\miniupnpc\upnpdev.c" />
|
||||
<ClCompile Include="..\..\ext\miniupnpc\upnperrors.c" />
|
||||
<ClCompile Include="..\..\ext\miniupnpc\upnpreplyparse.c" />
|
||||
<ClCompile Include="..\..\node\Bond.cpp" />
|
||||
<ClCompile Include="..\..\node\BondController.cpp" />
|
||||
<ClCompile Include="..\..\node\C25519.cpp">
|
||||
<Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">MaxSpeed</Optimization>
|
||||
<Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">MaxSpeed</Optimization>
|
||||
@ -135,7 +136,6 @@
|
||||
<ClInclude Include="..\..\controller\FileDB.hpp" />
|
||||
<ClInclude Include="..\..\controller\LFDB.hpp" />
|
||||
<ClInclude Include="..\..\controller\PostgreSQL.hpp" />
|
||||
<ClInclude Include="..\..\controller\RabbitMQ.hpp" />
|
||||
<ClInclude Include="..\..\ext\cpp-httplib\httplib.h" />
|
||||
<ClInclude Include="..\..\ext\http-parser\http_parser.h" />
|
||||
<ClInclude Include="..\..\ext\json\json.hpp" />
|
||||
@ -162,6 +162,8 @@
|
||||
<ClInclude Include="..\..\include\ZeroTierOne.h" />
|
||||
<ClInclude Include="..\..\node\Address.hpp" />
|
||||
<ClInclude Include="..\..\node\AtomicCounter.hpp" />
|
||||
<ClInclude Include="..\..\node\Bond.hpp" />
|
||||
<ClInclude Include="..\..\node\BondController.hpp" />
|
||||
<ClInclude Include="..\..\node\Buffer.hpp" />
|
||||
<ClInclude Include="..\..\node\C25519.hpp" />
|
||||
<ClInclude Include="..\..\node\CertificateOfMembership.hpp" />
|
||||
@ -240,6 +242,7 @@
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
|
@ -264,9 +264,6 @@
|
||||
<ClCompile Include="..\..\controller\PostgreSQL.cpp">
|
||||
<Filter>Source Files\controller</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\controller\RabbitMQ.cpp">
|
||||
<Filter>Source Files\controller</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\controller\LFDB.cpp">
|
||||
<Filter>Source Files\controller</Filter>
|
||||
</ClCompile>
|
||||
@ -276,6 +273,12 @@
|
||||
<ClCompile Include="..\..\osdep\EthernetTap.cpp">
|
||||
<Filter>Source Files\osdep</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\node\Bond.cpp">
|
||||
<Filter>Source Files\node</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\node\BondController.cpp">
|
||||
<Filter>Source Files\node</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="resource.h">
|
||||
@ -515,9 +518,6 @@
|
||||
<ClInclude Include="..\..\controller\PostgreSQL.hpp">
|
||||
<Filter>Header Files\controller</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\controller\RabbitMQ.hpp">
|
||||
<Filter>Header Files\controller</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\controller\LFDB.hpp">
|
||||
<Filter>Header Files\controller</Filter>
|
||||
</ClInclude>
|
||||
@ -530,6 +530,12 @@
|
||||
<ClInclude Include="..\..\osdep\EthernetTap.hpp">
|
||||
<Filter>Header Files\osdep</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\node\Bond.hpp">
|
||||
<Filter>Header Files\node</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\node\BondController.hpp">
|
||||
<Filter>Header Files\node</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="ZeroTierOne.rc">
|
||||
|
Loading…
Reference in New Issue
Block a user