diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-02-22 16:28:15 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-02-26 10:02:59 +0000 |
commit | 298012359b52a9bf1ca22e0d1bedf23ec3e7680f (patch) | |
tree | a45d34417930edf1b3a9299bac31efdf7f71ef2b /extcap/extcap-base.h | |
parent | 3b9306e91b397755785b6b85be10594b2bfaf740 (diff) | |
download | wireshark-298012359b52a9bf1ca22e0d1bedf23ec3e7680f.tar.gz |
extcap: move windows functions into extcap-base
Change-Id: Iec7fed027a24992afd673b09c32470af51739ae5
Reviewed-on: https://code.wireshark.org/review/14075
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'extcap/extcap-base.h')
-rw-r--r-- | extcap/extcap-base.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extcap/extcap-base.h b/extcap/extcap-base.h index 83500e449e..07617b15df 100644 --- a/extcap/extcap-base.h +++ b/extcap/extcap-base.h @@ -83,6 +83,13 @@ { "extcap-capture-filter", required_argument, NULL, OPT_CAPTURE_FILTER}, \ { "fifo", required_argument, NULL, OPT_FIFO} \ +#ifdef _WIN32 +BOOLEAN IsHandleRedirected(DWORD handle); +void attach_parent_console(); +#endif + +#define errmsg_print(...) { fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n"); } + #endif /* |