path: root/capture.h
diff options
authorUlf Lamping <ulf.lamping@web.de>2005-04-10 16:43:22 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-04-10 16:43:22 +0000
commit7b7f7e7f9ad0225f7ed927098a02e402fa2f5870 (patch)
tree6fbfeb36d09df008a97f352e4aae437b68c66cb9 /capture.h
parent78a7b0bcc0f6403d934907423e21910e6650fcc7 (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')
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 */
} capture_options;