aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/voip_calls_dialog.cpp
diff options
context:
space:
mode:
authorJiri Novak <j.novak@netsystem.cz>2018-06-14 23:19:01 +0200
committerAnders Broman <a.broman58@gmail.com>2018-06-19 15:05:12 +0000
commit27a1906c582b9c7dcd17e7db2726a1059e3aaf8a (patch)
tree44b713c72d6c5cac6ca9f319cc8c8511d8597834 /ui/qt/voip_calls_dialog.cpp
parent434fbe20dd5e2dc58473fea1363a7350486bc33c (diff)
RTP: Code clean up
Changes: - rtpstream_packet renamed to rtpstream_packet_cb to follow *_cb pattern - variables/types used in iax2_analysis_dialog were created as copy of *rtp* ones, but names were left as *rtp* -> *iax2* - struct _rtp_stream_info replaced with rtp_stream_info_t - there was tap-rtp-analysis.h, but no tap-rtp-analysis.c - related content was moved from tap-rtp-common.c - *rtp_stream* functions renamed to *rtpstream* - renamed rtp_stream_info_t to rtpstream_info_t to follow *rtpstream* pattern. - renamed ui/rtp_stream.c rtpstream_draw -> rtpstream_draw_cb Change-Id: Ib11ff5367cc464ea1b0c73432bc50b0eb9cd203e Reviewed-on: https://code.wireshark.org/review/28299 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/voip_calls_dialog.cpp')
-rw-r--r--ui/qt/voip_calls_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/voip_calls_dialog.cpp b/ui/qt/voip_calls_dialog.cpp
index 5f596c3ee5..d7c093c69e 100644
--- a/ui/qt/voip_calls_dialog.cpp
+++ b/ui/qt/voip_calls_dialog.cpp
@@ -179,7 +179,7 @@ void VoipCallsDialog::tapDraw(void *tapinfo_ptr)
for (; graph_item; graph_item = g_list_next(graph_item)) {
for (GList *rsi_entry = g_list_first(tapinfo->rtp_stream_list); rsi_entry; rsi_entry = g_list_next(rsi_entry)) {
seq_analysis_item_t * sai = (seq_analysis_item_t *)graph_item->data;
- rtp_stream_info_t *rsi = (rtp_stream_info_t *)rsi_entry->data;
+ rtpstream_info_t *rsi = (rtpstream_info_t *)rsi_entry->data;
if (rsi->start_fd->num == sai->frame_number) {
rsi->call_num = sai->conv_num;
@@ -392,7 +392,7 @@ void VoipCallsDialog::showPlayer()
if (!vci) continue;
for (GList *rsi_entry = g_list_first(tapinfo_.rtp_stream_list); rsi_entry; rsi_entry = g_list_next(rsi_entry)) {
- rtp_stream_info_t *rsi = (rtp_stream_info_t *)rsi_entry->data;
+ rtpstream_info_t *rsi = (rtpstream_info_t *)rsi_entry->data;
if (!rsi) continue;
//VOIP_CALLS_DEBUG("checking call %u, start frame %u == stream call %u, start frame %u, setup frame %u",