wireshark/ui
Mikael Kanstrup 8873c7e494 iface_lists: Access all_ifaces member by reference
Change access of all_ifaces elements from by val to by reference.
With this change unnecessary copying of the whole struct is avoided
but even more important is that elements no longer have to be
removed and inserted whenever data is updated.

This change aims to make it more clear that all_ifaces elements
shall never be removed from the array without freeing resources
via the capture_opts_free_interface_t function.

NOTE: Code for GTK UI not updated

Ping-Bug: 13864
Change-Id: I36742cb1d5c8daa136c9d3732a044a7c8e5c7fe7
Reviewed-on: https://code.wireshark.org/review/23201
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-28 14:41:43 +00:00
..
cli [sipstat] Update the Response Codes table. 2017-06-21 17:22:50 +00:00
gtk Fix requesting hardware timestamps without -k 2017-08-22 12:18:12 +00:00
qt iface_lists: Access all_ifaces member by reference 2017-08-28 14:41:43 +00:00
win32
.editorconfig
CMakeLists.txt
Makefile.am
alert_box.c
alert_box.h
all_files_wildcard.h
capture.c iface_lists: Access all_ifaces member by reference 2017-08-28 14:41:43 +00:00
capture.h
capture_globals.h
capture_ui_utils.c Allow bigger snapshot lengths for D-Bus captures. 2017-06-05 05:28:26 +00:00
capture_ui_utils.h
commandline.c commandline: fix compilation without pcap. 2017-08-22 16:44:44 +00:00
commandline.h Add hardware timestamping support 2017-08-22 07:55:26 +00:00
console.c
console.h
decode_as_utils.c
decode_as_utils.h
dissect_opts.c
dissect_opts.h
doxygen.cfg.in
export_object_ui.c
export_object_ui.h
export_pdu_ui_utils.c
export_pdu_ui_utils.h
failure_message.c
failure_message.h
file_dialog.h
filter_files.c Fix weird comment. 2017-06-10 00:53:06 +00:00
filter_files.h
firewall_rules.c
firewall_rules.h
help_url.c
help_url.h
iface_lists.c iface_lists: Access all_ifaces member by reference 2017-08-28 14:41:43 +00:00
iface_lists.h
iface_toolbar.c
iface_toolbar.h
io_graph_item.c
io_graph_item.h
language.c
language.h
last_open_dir.h
main_statusbar.h
mcast_stream.c
mcast_stream.h
packet_list_utils.c
packet_list_utils.h
packet_range.c
packet_range.h
persfilepath_opt.c
persfilepath_opt.h
preference_utils.c UI: Fix preference utils store helper 2017-07-04 15:13:59 +00:00
preference_utils.h
profile.c
profile.h
progress_dlg.h
proto_hier_stats.c Properly find packet comments "field" for protocol hierarchy stats. 2017-06-22 23:49:37 +00:00
proto_hier_stats.h
recent.c
recent.h
recent_utils.h
rtp_media.c
rtp_media.h
rtp_stream.c
rtp_stream.h
service_response_time.c
service_response_time.h
simple_dialog.h
software_update.c
software_update.h
ssl_key_export.c
ssl_key_export.h
tap-iax2-analysis.c
tap-iax2-analysis.h
tap-rlc-graph.c
tap-rlc-graph.h
tap-rtp-analysis.h
tap-rtp-common.c [tap-rtp-common] Add EVS to mimetype_and_clock_map 2017-06-14 11:37:28 +00:00
tap-rtp-common.h
tap-sctp-analysis.c
tap-sctp-analysis.h
tap-sequence-analysis.c
tap-sequence-analysis.h
tap-tcp-stream.c
tap-tcp-stream.h
tap_export_pdu.c ERF_TYPE_META write and comment support 2017-07-17 02:08:52 +00:00
tap_export_pdu.h
text_import.c
text_import.h Allow bigger snapshot lengths for D-Bus captures. 2017-06-05 05:28:26 +00:00
text_import_scanner.h
text_import_scanner.l
time_shift.c
time_shift.h
traffic_table_ui.c
traffic_table_ui.h
ui_util.h
util.c
util.h
voip_calls.c [skinny]: minor changes to xml file 2017-08-21 15:28:02 +00:00
voip_calls.h