Yank RuntimeEnvironment from SysEnv.

This commit is contained in:
Adam Ierymenko 2014-01-29 09:58:17 -08:00
parent d6a346ca6e
commit 4e85213473
3 changed files with 18 additions and 18 deletions

View file

@ -30,6 +30,8 @@
#include <stdint.h>
#include <set>
#include "NonCopyable.hpp"
namespace ZeroTier {
@ -42,16 +44,16 @@ class RuntimeEnvironment;
class SysEnv : NonCopyable
{
public:
SysEnv(const RuntimeEnvironment *renv);
SysEnv();
~SysEnv();
/**
* This computes a CRC-type code from gathered information about your network settings
*
* @param ignoreDevices Ignore these local network devices by OS-specific name (e.g. our taps)
* @return Fingerprint of currently running network environment
*/
uint64_t getNetworkConfigurationFingerprint();
private:
const RuntimeEnvironment *_r;
uint64_t getNetworkConfigurationFingerprint(const std::set<std::string> &ignoreDevices);
};
} // namespace ZeroTier