diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-04-10 16:43:22 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-04-10 16:43:22 +0000 |
commit | 7b7f7e7f9ad0225f7ed927098a02e402fa2f5870 (patch) | |
tree | 6fbfeb36d09df008a97f352e4aae437b68c66cb9 /capture.h | |
parent | 78a7b0bcc0f6403d934907423e21910e6650fcc7 (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.
svn path=/trunk/; revision=14040
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; |