Replace extcap_interface_list() with append_extcap_interface_list().
authorGuy Harris <guy@alum.mit.edu>
Sat, 27 Feb 2016 01:04:05 +0000 (17:04 -0800)
committerGuy Harris <guy@alum.mit.edu>
Sat, 27 Feb 2016 01:04:33 +0000 (01:04 +0000)
commit842a9b510074c896e54735e2e3a575ea802f23ea
treee8243fc0a53911a9e8759d308a7cef3c4ec36438
parent60f87ca919a6bfedfdb8b4728f7f221eb6b8af15
Replace extcap_interface_list() with append_extcap_interface_list().

Pull the "rebuild the list of extcap interfaces and, optionally, return
a list of if_infos for them" into a separate
extcap_reload_interface_list() routine, call it in the cases where we
don't want the if_infos list, and have append_extcap_interface_list()
call it, asking it for the if_infos list, and then append the interfaces
to that list.

Change-Id: I07478ab133859484b3e0916144971639f961224b
Reviewed-on: https://code.wireshark.org/review/14189
Reviewed-by: Guy Harris <guy@alum.mit.edu>
capchild/capture_ifinfo.c
extcap.c
extcap.h