aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-05-26 17:50:27 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-05-26 17:50:27 +0000
commitab467a63adc54f27f699f7cc107fddc109b81a1d (patch)
tree91a8bae1bf7b20b378e960da7c100cb4475479ef /capture.h
parent5ef38bcc3841a776244502720d57dbe50a234f31 (diff)
use the log features of the GLib to have verbose output of the capturing engine, e.g. GLib provides different domains for different submodules. Output more verbose than warning level will be disabled by default (just like before).
use the console_log_handler in main.c for win32 AND unix now Currently use the log for the capturing engine (only), as I desperately needed a log output for debugging. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14438 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/capture.h b/capture.h
index c7e3677f5c..c46c21f6e5 100644
--- a/capture.h
+++ b/capture.h
@@ -106,6 +106,12 @@ capture_opts_init(capture_options *capture_opts, void *cfile);
extern void
capture_opts_add_opt(capture_options *capture_opts, const char *appname, int opt, const char *optarg, gboolean *start_capture);
+/* log content of capture_opts */
+extern void
+capture_opts_log(const char *log_domain, GLogLevelFlags log_level, capture_options *capture_opts);
+
+
+
/**
* Start a capture session.
*