aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-02-16 02:31:31 +0000
committerGuy Harris <guy@alum.mit.edu>2008-02-16 02:31:31 +0000
commitf10febad71a1185a4e8666f8323f142e80e83d15 (patch)
tree43c489086b416669e9b964ef544ed12da7153aa0 /rawshark.c
parent4e115214d95b51507052ad45f792624a94627b49 (diff)
Now that we're no longer linking with capture_info.c, etc., we don't
need a bunch of dummy routines. svn path=/trunk/; revision=24344
Diffstat (limited to 'rawshark.c')
-rwxr-xr-xrawshark.c69
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_)