aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/wireshark_application.cpp
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-05-22 08:47:17 +0000
committerGuy Harris <guy@alum.mit.edu>2013-05-22 08:47:17 +0000
commitfb7ae678e49abbf0eeb852a80926f3a85f1390db (patch)
tree34fec555a48c4503e110c5edfda2d185950d7779 /ui/qt/wireshark_application.cpp
parent57664611b964736468a2f46e4e0a4c43602dd5e8 (diff)
More capture_options -> capture_session changes.
svn path=/trunk/; revision=49499
Diffstat (limited to 'ui/qt/wireshark_application.cpp')
-rw-r--r--ui/qt/wireshark_application.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp
index 8d45bc09e3..740aad0606 100644
--- a/ui/qt/wireshark_application.cpp
+++ b/ui/qt/wireshark_application.cpp
@@ -187,45 +187,45 @@ void WiresharkApplication::refreshRecentFiles(void) {
}
}
-void WiresharkApplication::captureCallback(int event, capture_options * capture_opts)
+void WiresharkApplication::captureCallback(int event, capture_session * cap_session)
{
switch(event) {
case(capture_cb_capture_prepared):
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: capture prepared");
- emit captureCapturePrepared(capture_opts);
+ emit captureCapturePrepared(cap_session);
break;
case(capture_cb_capture_update_started):
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: capture update started");
- emit captureCaptureUpdateStarted(capture_opts);
+ emit captureCaptureUpdateStarted(cap_session);
break;
case(capture_cb_capture_update_continue):
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: capture update continue");
- emit captureCaptureUpdateContinue(capture_opts);
+ emit captureCaptureUpdateContinue(cap_session);
break;
case(capture_cb_capture_update_finished):
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: capture update finished");
- emit captureCaptureUpdateFinished(capture_opts);
+ emit captureCaptureUpdateFinished(cap_session);
break;
case(capture_cb_capture_fixed_started):
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: capture fixed started");
- emit captureCaptureFixedStarted(capture_opts);
+ emit captureCaptureFixedStarted(cap_session);
break;
case(capture_cb_capture_fixed_continue):
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: capture fixed continue");
break;
case(capture_cb_capture_fixed_finished):
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: capture fixed finished");
- emit captureCaptureFixedFinished(capture_opts);
+ emit captureCaptureFixedFinished(cap_session);
break;
case(capture_cb_capture_stopping):
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: capture stopping");
/* Beware: this state won't be called, if the capture child
* closes the capturing on it's own! */
- emit captureCaptureStopping(capture_opts);
+ emit captureCaptureStopping(cap_session);
break;
case(capture_cb_capture_failed):
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: capture failed");
- emit captureCaptureFailed(capture_opts);
+ emit captureCaptureFailed(cap_session);
break;
default:
g_warning("main_capture_callback: event %u unknown", event);