diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-10-09 08:44:54 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-10-12 19:01:49 +0000 |
commit | aba59e5973af5e8b2e0705bba3c8f2d47791261b (patch) | |
tree | 78f7620a15e3ffd76829cd0de76e925e34b0e15e /extcap/extcap-base.h | |
parent | 0efb1c6f6bf8d9f116dc5fb56eb0f9866bc575fc (diff) |
Win32: Make extcap utilities console applications.
Switch from using WinMain in extcap to wmain.
Change-Id: I54fafad598f5ff74fe84a3ce3e993ac5a31188f7
Reviewed-on: https://code.wireshark.org/review/30094
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'extcap/extcap-base.h')
-rw-r--r-- | extcap/extcap-base.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/extcap/extcap-base.h b/extcap/extcap-base.h index 9413bf931f..322d08a9ab 100644 --- a/extcap/extcap-base.h +++ b/extcap/extcap-base.h @@ -29,6 +29,7 @@ #ifdef _WIN32 #include <io.h> + #include <wsutil/unicode-utils.h> // arg_list_utf_16to8 #endif #include <wsutil/socket.h> @@ -58,11 +59,6 @@ { "debug", required_argument, NULL, EXTCAP_OPT_DEBUG}, \ { "debug-file", required_argument, NULL, EXTCAP_OPT_DEBUG_FILE} -#if defined(_WIN32) - BOOLEAN IsHandleRedirected(DWORD handle); - void attach_parent_console(); -#endif - typedef struct _extcap_parameters { char * exename; |