wireshark/capchild
Mikael Kanstrup 3b16cc8b21 iface_lists: Access ifaces member by reference
Change access of 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 ifaces elements shall
never directly be removed from the array. Instead use function
capture_opts_del_iface

NOTE: Code for GTK UI not updated

Ping-Bug: 13864
Change-Id: I04b65d5ee36526b30d959b8e5a2a48a3c7c4f15b
Reviewed-on: https://code.wireshark.org/review/23204
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-28 14:43:13 +00:00
..
CMakeLists.txt cmake: make WERROR_COMMON_FLAGS a normal string 2016-09-30 20:08:02 +00:00
Makefile.am Remove Makefile.common files 2016-06-30 11:04:17 +00:00
capture_ifinfo.c Add hardware timestamping support 2017-08-22 07:55:26 +00:00
capture_session.h Fix a comment to match we-run-on-Windows-too reality. 2017-02-08 02:21:44 +00:00
capture_sync.c iface_lists: Access ifaces member by reference 2017-08-28 14:43:13 +00:00
capture_sync.h capchild: Support optional 802.11 channel parameters 2016-09-23 06:01:27 +00:00
doxygen.cfg.in Get rid of trailing blanks. 2014-06-24 02:08:37 +00:00