aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-04-10 16:43:22 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-04-10 16:43:22 +0000
commitf4a9ff05f33d5aa60fd8370eaedddf3024cf83c1 (patch)
tree6fbfeb36d09df008a97f352e4aae437b68c66cb9 /capture.h
parent07bcb39a4dc4e6065c6632c7be956d5f71229762 (diff)
Win32 only bugfix: as using TerminateProcess is the brute force way and sometimes clipped packets in the middle, now using a pipe called signal_pipe from the parent to the child for this.
On unix we're using kill() for this, which simply signals the child, but this isn't available on win32. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14040 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/capture.h b/capture.h
index 8ca2a4df47..fcaaf2527a 100644
--- a/capture.h
+++ b/capture.h
@@ -82,6 +82,9 @@ typedef struct capture_options_tag {
/* internally used (don't touch from outside) */
int fork_child; /**< If not -1, in parent, process ID of child */
+#ifdef _WIN32
+ int signal_pipe_fd; /**< the pipe to signal the child */
+#endif
} capture_options;