summaryrefslogtreecommitdiff
path: root/tunDevice.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-06-16 00:34:44 +0000
committerChristian Pointner <equinox@anytun.org>2007-06-16 00:34:44 +0000
commit8e8ce31dc422c0116ae2866d5874ef70fbb21f57 (patch)
tree63b8cfd55cf7bd5b4fd920d6b28dda579dca5029 /tunDevice.h
parentfixed checkin (diff)
removed openvpn source files
tundevice can now be compiled added main added some helper classes
Diffstat (limited to 'tunDevice.h')
-rw-r--r--tunDevice.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/tunDevice.h b/tunDevice.h
index 5602f90..487167a 100644
--- a/tunDevice.h
+++ b/tunDevice.h
@@ -28,12 +28,13 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "openvpn/tun.h"
+#ifndef _TUNDEVICE_H_
+#define _TUNDEVICE_H_
class TunDevice
{
public:
- TunDevice(string dev_name);
+ TunDevice(const char* dev);
~TunDevice();
int read(uint8_t *buf, int len);
@@ -44,4 +45,6 @@ private:
TunDevice(const TunDevice &src);
struct tuntap *dev_;
-}
+};
+
+#endif