diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-02-11 23:25:11 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-02-11 23:25:11 +0000 |
commit | cf94760fa4a1de9fdb1aa5a3152516699bceaf45 (patch) | |
tree | 1c665d6e6c1ad304187017b4cdbe4ecc3aba2532 /Makefile.common | |
parent | ec37501696d809d932c6db398b71950b4beb4e36 (diff) | |
download | wireshark-cf94760fa4a1de9fdb1aa5a3152516699bceaf45.tar.gz wireshark-cf94760fa4a1de9fdb1aa5a3152516699bceaf45.tar.bz2 wireshark-cf94760fa4a1de9fdb1aa5a3152516699bceaf45.zip |
the point of no return ...
using dumpcap as the capture child for Ethereal.
dumpcap is a plain console application now, even for Win32 (so no WinMain, create_console and special piping stuff reguired). The undocumented command line option -Z will switch dumpcap into "child mode", using binary instead of plain text output messages to communicate with a parent Ethereal.
Ethereal's main.c no longer needs to distinguish between child mode or not, so some simplifying here.
capture_sync.c has to call dumpcap in a "hidden window" mode using CreateProcess instead of spawnvp, otherwise an uggly console window would appear. The handles created by _pipe doesn't seem to be inheritable for this function, using CreatePipe instead.
The file capture_loop.c is only needed by dumpcap, removed from Ethereal link objects.
Some debugging aid added and other minor cleanup done.
svn path=/trunk/; revision=17256
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index a6f5c7954c..27f542b5de 100644 --- a/Makefile.common +++ b/Makefile.common @@ -136,7 +136,6 @@ ethereal_SOURCES = \ alert_box.c \ capture.c \ capture_info.c \ - capture_loop.c \ capture_opts.c \ capture_sync.c \ color_filters.c \ |