diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-06-02 17:45:03 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-06-02 17:45:03 +0000 |
commit | 561f66c1b89c8d6fa9c5f2a4ff7a0a606272d02a (patch) | |
tree | b9ca81b2c1eca1516c88fe5e1cf7f7c22ce83de6 /capture_ui_utils.h | |
parent | d623efba636b2939306d7059e03b1aaa2f10d80e (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.h | 6 |
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, |