From f6aa7ae0dd63bf13aa0f0d6f6e11cf0821cc85ac Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 4 Jan 2012 03:02:13 +0000 Subject: 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 --- sync_pipe.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sync_pipe.h') 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 */ -- cgit v1.2.3