diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-04-10 16:43:22 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-04-10 16:43:22 +0000 |
commit | f4a9ff05f33d5aa60fd8370eaedddf3024cf83c1 (patch) | |
tree | 6fbfeb36d09df008a97f352e4aae437b68c66cb9 /capture.h | |
parent | 07bcb39a4dc4e6065c6632c7be956d5f71229762 (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |