diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-01-04 14:10:16 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-01-04 22:10:48 +0000 |
commit | 26430ff647eff817aebdf7425f866f6d7f0f9860 (patch) | |
tree | f6545f703f207fe9f0b84d723823dd3db50143bd /extcap.h | |
parent | f7124f64a8bafe70cb52cfeb225265d229befa66 (diff) | |
download | wireshark-26430ff647eff817aebdf7425f866f6d7f0f9860.tar.gz |
Include extcap binaries in the count of things to point out during startup.
The GTK+ version, at least, crashes if there are more "doing XXX..."
items put up than the calculated count, so, now that we're putting up
items for extcap binaries, we need to count the extcap binaries.
Clean up some stuff we found doing this (indentation, a _U_ on something
that's used).
Change-Id: I1f88042b64ce4b9ae352de37689677c694e3770b
Reviewed-on: https://code.wireshark.org/review/19549
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'extcap.h')
-rw-r--r-- | extcap.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -63,6 +63,10 @@ struct _extcap_arg; extern "C" { #endif /* __cplusplus */ +/* Count the number of extcap binaries */ +guint +extcap_count(void); + /* Registers preferences for all interfaces */ void extcap_register_preferences(void); |