diff options
author | Christian Pointner <equinox@anytun.org> | 2009-01-19 20:13:43 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-01-19 20:13:43 +0000 |
commit | 1e12add3e66522b94a5d0eea603c15f93f7dd8cd (patch) | |
tree | 2e73a74953e4a813b75e3e22d8da5b230e34f2a2 /src/tunDevice.h | |
parent | some cleanup (diff) |
started to implement windows tunDevice
updated LogErrno to support Windows Error Codes
Diffstat (limited to 'src/tunDevice.h')
-rw-r--r-- | src/tunDevice.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tunDevice.h b/src/tunDevice.h index 99f3d4b..c07f813 100644 --- a/src/tunDevice.h +++ b/src/tunDevice.h @@ -36,6 +36,10 @@ #include "deviceConfig.hpp" #include "threadUtils.hpp" +#ifdef _MSC_VER +#include <windows.h> +#endif + class TunDevice { public: @@ -71,6 +75,10 @@ private: int fix_return(int ret, size_t pi_length); int fd_; +#ifdef _MSC_VER + HANDLE handle_; +#endif + DeviceConfig conf_; bool with_pi_; std::string actual_name_; |