18 #ifndef __SYNC_PIPE_H__
19 #define __SYNC_PIPE_H__
21 #include <ws_posix_compat.h>
30 #define SP_MAX_MSG_LEN 4096
39 #define SP_EXEC_FAILED 'X'
41 #define SP_ERROR_MSG 'E'
42 #define SP_BAD_FILTER 'B'
43 #define SP_PACKET_COUNT 'P'
45 #define SP_SUCCESS 'S'
46 #define SP_TOOLBAR_CTRL 'T'
58 sync_pipe_write_string_msg(
int pipe_fd,
char indicator,
const char *msg);
65 sync_pipe_write_uint_msg(
int pipe_fd,
char indicator,
unsigned int num);
71 sync_pipe_write_int_msg(
int pipe_fd,
char indicator,
int num);
76 const char *secondary_error_msg);
79 #define SIGNAL_PIPE_CTRL_ID_NONE "none"
81 #define SIGNAL_PIPE_FORMAT "\\\\.\\pipe\\wireshark.%s.signal"
void sync_pipe_write_errmsgs_to_parent(int pipe_fd, const char *error_msg, const char *secondary_error_msg)
Definition: sync_pipe_write.c:121