aboutsummaryrefslogtreecommitdiffstats
path: root/sync_pipe.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-01-04 03:02:13 +0000
committerGuy Harris <guy@alum.mit.edu>2012-01-04 03:02:13 +0000
commitf6aa7ae0dd63bf13aa0f0d6f6e11cf0821cc85ac (patch)
treedc11a8b2eba76d988f6f7b954e053ebe946e89d4 /sync_pipe.h
parent19e493c049f7ff766e63f9ac43af4fea940737f0 (diff)
Move stuff that should *only* be known by the lowest-level code that
deals with the sync pipe - i.e., only by sync_pipe.c and dumpcap.c - into sync_pipe.h. svn path=/trunk/; revision=40366
Diffstat (limited to 'sync_pipe.h')
-rw-r--r--sync_pipe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sync_pipe.h b/sync_pipe.h
index b5d80cb706..029f29fed1 100644
--- a/sync_pipe.h
+++ b/sync_pipe.h
@@ -78,4 +78,10 @@ extern void
sync_pipe_errmsg_to_parent(int pipe_fd, const char *error_msg,
const char *secondary_error_msg);
+/** Has the parent signalled the child to stop? */
+#define SIGNAL_PIPE_CTRL_ID_NONE "none"
+#ifdef _WIN32
+#define SIGNAL_PIPE_FORMAT "\\\\.\\pipe\\wireshark.%s.signal"
+#endif
+
#endif /* sync_pipe.h */