summaryrefslogtreecommitdiff
path: root/capture_ui_utils.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-04-18 14:29:54 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-04-18 14:29:54 +0000
commitb205017b3ee5e1fe839ce85a186bcbd956ebc56a (patch)
treee16f1e0b00856764c0674e6daf10af289202aac8 /capture_ui_utils.h
parent2f78f0145d2a4c0436d1f2cb2b221c5699acd1d7 (diff)
downloadwireshark-b205017b3ee5e1fe839ce85a186bcbd956ebc56a.tar.gz
Display the interface comment if defined.
On non-win32 also display the interface name. svn path=/trunk/; revision=25114
Diffstat (limited to 'capture_ui_utils.h')
-rw-r--r--capture_ui_utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/capture_ui_utils.h b/capture_ui_utils.h
index 8370b31d4a..4093ae4cb2 100644
--- a/capture_ui_utils.h
+++ b/capture_ui_utils.h
@@ -31,6 +31,12 @@
* GList of available capture interfaces.
*/
+/**
+ * Find user-specified capture device description that matches interface
+ * name, if any.
+ */
+char *capture_dev_user_descr_find(const gchar *if_name);
+
/** Return as descriptive a name for an interface as we can get.
* If the user has specified a comment, use that. Otherwise,
* if get_interface_list() supplies a description, use that,