aboutsummaryrefslogtreecommitdiffstats
path: root/capture_ui_utils.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-06-02 17:45:03 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-06-02 17:45:03 +0000
commit561f66c1b89c8d6fa9c5f2a4ff7a0a606272d02a (patch)
treeb9ca81b2c1eca1516c88fe5e1cf7f7c22ce83de6 /capture_ui_utils.h
parentd623efba636b2939306d7059e03b1aaa2f10d80e (diff)
Added an option to set default link-layer header type for each interface.
Set linktype history for each interface so we don't mix them. Fixed some indents. svn path=/trunk/; revision=25411
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 4093ae4cb2..57c2572cde 100644
--- a/capture_ui_utils.h
+++ b/capture_ui_utils.h
@@ -37,6 +37,12 @@
*/
char *capture_dev_user_descr_find(const gchar *if_name);
+/**
+ * Find user-specified link-layer header type that matches interface
+ * name, if any.
+ */
+gint capture_dev_user_linktype_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,