wireshark/caputils
Guy Harris a6618ffdc9 Move npf_sys_is_running() from wsutil to caputils.
It has nothing to do with controlling privileges; it only tests whether
the NPF or Npcap service (driver) is running, so it belongs in caputils.

While we're at it, fix its signature (in C, a function with no arguments
must have "void" as the argument list, for backwards compatibility with
pre-function-prototype C), and close the handles it opens, so we don't
have open handles leaked.

Change-Id: Ia99e99d81617ed2e8cda2c44e53061b4502a2b58
Reviewed-on: https://code.wireshark.org/review/15714
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-06-03 21:24:47 +00:00
..
.editorconfig Add EditorConfig settings for most C files 2016-03-08 10:46:35 +00:00
CMakeLists.txt Add checkAPI calls to CMake. 2016-05-02 12:01:24 +00:00
Makefile.am Add EditorConfig settings for most C files 2016-03-08 10:46:35 +00:00
Makefile.common Fix ISO C forbids an empty translation unit [-Wpedantic] (airpcap) 2015-11-27 22:22:06 +00:00
Makefile.nmake Remove some {-I,/I} flags. 2016-02-18 14:38:19 +00:00
airpcap.h Change a lot of http:// URLs to https://. 2015-03-10 19:30:50 +00:00
airpcap_loader.c Remove unnecessary #ifdef and includes. 2016-01-06 01:44:40 +00:00
airpcap_loader.h Try to fix: warning C6244: Local declaration of 'airpcap_if_list' hides 2015-07-02 15:28:03 +00:00
capture-pcap-util-int.h Move more capture device handling to the caputils library. 2016-01-07 04:38:39 +00:00
capture-pcap-util-unix.c Use AC_CHECK_MEMBERS 2016-04-02 22:19:00 +00:00
capture-pcap-util.c pcap_list_datalinks() failing is an error. 2016-01-07 06:07:42 +00:00
capture-pcap-util.h Don't declare libpcap wrappers if we're not building with libpcap. 2016-01-07 05:29:05 +00:00
capture-wpcap.c Move npf_sys_is_running() from wsutil to caputils. 2016-06-03 21:24:47 +00:00
capture-wpcap.h Move npf_sys_is_running() from wsutil to caputils. 2016-06-03 21:24:47 +00:00
capture_ifinfo.h Fix retrieval of data link type supported by remote interfaces with authentication 2015-07-22 07:10:10 +00:00
capture_win_ifnames.c Remove unnecessary includes. 2016-01-06 00:14:32 +00:00
capture_win_ifnames.h
capture_wpcap_packet.c
capture_wpcap_packet.h
doxygen.cfg.in
iface_monitor.c Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
iface_monitor.h Allow the interface monitor routines to be called from C++. 2014-07-16 02:28:39 +00:00
ws80211_utils.c Reapply "ws80211: Disable shorten-64-to-32." 2016-05-22 04:56:10 +00:00
ws80211_utils.h dumpcap: Add support for 802.11ac monitor modes 2016-03-01 15:23:44 +00:00