diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-01-31 16:47:05 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-01-31 16:47:05 +0000 |
commit | f3747bf63786cac3ebc8e13621c688a0c0451970 (patch) | |
tree | 2c0939b624e8ba0069f02e356438f1e86c755172 /epan/prefs.h | |
parent | 161eb8b6d7818d9094fa6141e50078d321dde7dd (diff) | |
download | wireshark-f3747bf63786cac3ebc8e13621c688a0c0451970.tar.gz |
Hide hidden devices in "Capture Interfaces" dialog.
Added a function to check for hidden devices, which also work correctly
for plumbed devices on solaris.
svn path=/trunk/; revision=24231
Diffstat (limited to 'epan/prefs.h')
-rw-r--r-- | epan/prefs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h index 1d4af9713e..b3397aff5a 100644 --- a/epan/prefs.h +++ b/epan/prefs.h @@ -417,4 +417,9 @@ typedef enum { extern prefs_set_pref_e prefs_set_pref(char *prefarg); +/* + * Returns TRUE if the given device is hidden + */ +extern gboolean prefs_is_capture_device_hidden(const char *name); + #endif /* prefs.h */ |