diff options
Diffstat (limited to 'rawshark.c')
-rwxr-xr-x | rawshark.c | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/rawshark.c b/rawshark.c index abcd640283..1c86a4cf87 100755 --- a/rawshark.c +++ b/rawshark.c @@ -1648,75 +1648,6 @@ cmdarg_err_cont(const char *fmt, ...) /****************************************************************************************************************/ -/* indication report "dummies", needed for capture_loop.c */ - -#ifdef HAVE_LIBPCAP - -/** Report a new capture file having been opened. */ -void -report_new_capture_file(const char *filename _U_) -{ - /* shouldn't happen */ - g_assert_not_reached(); -} - -/** Report a number of new packets captured. */ -void -report_packet_count(int packet_count _U_) -{ - /* shouldn't happen */ - g_assert_not_reached(); -} - -/** Report the packet drops once the capture finishes. */ -void -report_packet_drops(int drops _U_) -{ - /* shouldn't happen */ - g_assert_not_reached(); -} - -/** Report an error in the capture. */ -void -report_capture_error(const char *errmsg, const char *secondary_error_msg) -{ - cmdarg_err(errmsg); - cmdarg_err_cont(secondary_error_msg); -} - -/** Report an error with a capture filter. */ -void -report_cfilter_error(const char *cfilter, const char *errmsg) -{ - - cmdarg_err( - "Invalid capture filter: \"%s\"!\n" - "\n" - "That string isn't a valid capture filter (%s).\n" - "See the User's Guide for a description of the capture filter syntax.", - cfilter, errmsg); -} - -#endif /* HAVE_LIBPCAP */ - - -/****************************************************************************************************************/ -/* signal pipe "dummies", needed for capture_loop.c */ - -#ifdef HAVE_LIBPCAP - -#ifdef _WIN32 -gboolean -signal_pipe_check_running(void) -{ - /* currently, no check required */ - return TRUE; -} -#endif /* _WIN32 */ - -#endif /* HAVE_LIBPCAP */ - -/****************************************************************************************************************/ /* other "dummies" */ void cf_mark_frame(capture_file *cf _U_, frame_data *frame _U_) |