summaryrefslogtreecommitdiff
path: root/capture_sync.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-02-11 23:25:11 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-02-11 23:25:11 +0000
commitcf94760fa4a1de9fdb1aa5a3152516699bceaf45 (patch)
tree1c665d6e6c1ad304187017b4cdbe4ecc3aba2532 /capture_sync.h
parentec37501696d809d932c6db398b71950b4beb4e36 (diff)
downloadwireshark-cf94760fa4a1de9fdb1aa5a3152516699bceaf45.tar.gz
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 'capture_sync.h')
-rw-r--r--capture_sync.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/capture_sync.h b/capture_sync.h
index 6e8dea1a09..6dbb64151a 100644
--- a/capture_sync.h
+++ b/capture_sync.h
@@ -34,9 +34,6 @@
#ifndef __CAPTURE_SYNC_H__
#define __CAPTURE_SYNC_H__
-/** Name we give to the child process when doing a "-S" capture. */
-#define CHILD_NAME "ethereal-capture"
-
/* Size of buffer to hold decimal representation of
signed/unsigned 64-bit int */