18#ifndef __SYNC_PIPE_H__
19#define __SYNC_PIPE_H__
21#include <ws_posix_compat.h>
33#define SP_MAX_MSG_LEN (512 * 1000)
42#define SP_EXEC_FAILED 'X'
44#define SP_ERROR_MSG 'E'
46#define SP_BAD_FILTER 'B'
47#define SP_PACKET_COUNT 'P'
50#define SP_TOOLBAR_CTRL 'T'
51#define SP_IFACE_LIST 'I'
111 const char *secondary_error_msg);
114#define SIGNAL_PIPE_CTRL_ID_NONE "none"
116#define SIGNAL_PIPE_FORMAT "\\\\.\\pipe\\wireshark.%s.signal"
void sync_pipe_write_uint_msg(int pipe_fd, char indicator, unsigned int num)
Writes a string message to the recipient pipe.
Definition sync_pipe_write.c:91
void sync_pipe_write_int_msg(int pipe_fd, char indicator, int num)
Writes a string message to the recipient pipe.
Definition sync_pipe_write.c:104
void sync_pipe_write_errmsgs_to_parent(int pipe_fd, const char *error_msg, const char *secondary_error_msg)
Notify the parent that the child encountered an error.
Definition sync_pipe_write.c:120
void sync_pipe_write_string_msg(int pipe_fd, char indicator, const char *msg)
Writes a string message to the recipient pipe.
Definition sync_pipe_write.c:48