aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--capture_sync.h6
-rw-r--r--sync_pipe.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/capture_sync.h b/capture_sync.h
index ff1bd31ab4..d38e2ddd77 100644
--- a/capture_sync.h
+++ b/capture_sync.h
@@ -57,12 +57,6 @@ sync_pipe_stop(capture_options *capture_opts);
extern void
sync_pipe_kill(int fork_child);
-/** 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
-
/** Get an interface list using dumpcap */
extern int
sync_interface_list_open(gchar **data, gchar **primary_msg,
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 */