wintap.h (n2n-2.8) | : | wintap.h (n2n-3.0) | ||
---|---|---|---|---|
/* | /* | |||
(C) 2007 - Luca Deri <deri@ntop.org> | (C) 2007 - Luca Deri <deri@ntop.org> | |||
*/ | */ | |||
#ifndef _WINTAP_H_ | #ifndef _WINTAP_H_ | |||
#define _WINTAP_H_ | #define _WINTAP_H_ | |||
#undef UNICODE | #undef UNICODE | |||
#undef _UNICODE | #undef _UNICODE | |||
#ifndef _CRT_SECURE_NO_WARNINGS | ||||
#define _CRT_SECURE_NO_WARNINGS | #define _CRT_SECURE_NO_WARNINGS | |||
#endif | ||||
#include <ws2tcpip.h> | #include <ws2tcpip.h> | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <string.h> | #include <string.h> | |||
//=============================================== | //=============================================== | |||
// This file is included both by OpenVPN and | // This file is included both by OpenVPN and | |||
// the TAP-Win32 driver and contains definitions | // the TAP-Win32 driver and contains definitions | |||
// common to both. | // common to both. | |||
//=============================================== | //=============================================== | |||
skipping to change at line 65 | skipping to change at line 67 | |||
//========================================================= | //========================================================= | |||
// TAP_COMPONENT_ID -- This string defines the TAP driver | // TAP_COMPONENT_ID -- This string defines the TAP driver | |||
// type -- different component IDs can reside in the system | // type -- different component IDs can reside in the system | |||
// simultaneously. | // simultaneously. | |||
//========================================================= | //========================================================= | |||
#define TAP_COMPONENT_ID "tap0801" | #define TAP_COMPONENT_ID "tap0801" | |||
extern void initWin32(); | extern void initWin32(); | |||
extern void destroyWin32(); | ||||
extern void win_print_available_adapters(); | extern void win_print_available_adapters(); | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added |