git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From Dirk via bug #5771: Add heuristic dissector for images and HTTP
[obnox/wireshark/wip.git]
/
capture_ui_utils.h
diff --git
a/capture_ui_utils.h
b/capture_ui_utils.h
index 4093ae4cb200e10ff5180ce1fbb6a6c7325ce624..e93142c79d295bd564a9a12beca1f002ac5aceaa 100644
(file)
--- a/
capture_ui_utils.h
+++ b/
capture_ui_utils.h
@@
-37,9
+37,15
@@
*/
char *capture_dev_user_descr_find(const gchar *if_name);
*/
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,
/** 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,
+ * if
capture
_interface_list() supplies a description, use that,
* otherwise use the interface name.
*
* @param if_name The name of the interface.
* otherwise use the interface name.
*
* @param if_name The name of the interface.
@@
-50,7
+56,7
@@
char *get_interface_descriptive_name(const char *if_name);
/** Build the GList of available capture interfaces.
*
/** Build the GList of available capture interfaces.
*
- * @param if_list An interface list from
get
_interface_list().
+ * @param if_list An interface list from
capture
_interface_list().
* @param do_hide Hide the "hidden" interfaces.
*
* @return A list of if_info_t structs (use free_capture_combo_list() later).
* @param do_hide Hide the "hidden" interfaces.
*
* @return A list of if_info_t structs (use free_capture_combo_list() later).