18 #ifndef __SYNC_PIPE_H__
19 #define __SYNC_PIPE_H__
21 #include <ws_posix_compat.h>
33 #define SP_MAX_MSG_LEN 16380
42 #define SP_EXEC_FAILED 'X'
44 #define SP_ERROR_MSG 'E'
45 #define SP_LOG_MSG 'L'
46 #define SP_BAD_FILTER 'B'
47 #define SP_PACKET_COUNT 'P'
49 #define SP_SUCCESS 'S'
50 #define SP_TOOLBAR_CTRL 'T'
51 #define SP_IFACE_LIST 'I'
63 sync_pipe_write_string_msg(
int pipe_fd,
char indicator,
const char *msg);
70 sync_pipe_write_uint_msg(
int pipe_fd,
char indicator,
unsigned int num);
76 sync_pipe_write_int_msg(
int pipe_fd,
char indicator,
int num);
81 const char *secondary_error_msg);
84 #define SIGNAL_PIPE_CTRL_ID_NONE "none"
86 #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