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
This commit is contained in:
Guy Harris 2012-01-04 03:02:13 +00:00
parent 19e493c049
commit f6aa7ae0dd
2 changed files with 6 additions and 6 deletions

View File

@ -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,

View File

@ -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 */