Add a few more menu items.
[obnox/wireshark/wip.git] / capture_ui_utils.h
index 57c2572cdeecb81983bf58bb1365a68e7cf33f1e..a7531b5b60772785f186ee28fbba0a75fc7c5df1 100644 (file)
@@ -45,7 +45,7 @@ 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,
+ * if capture_interface_list() supplies a description, use that,
  * otherwise use the interface name.
  *
  * @param if_name The name of the interface.
@@ -56,7 +56,7 @@ char *get_interface_descriptive_name(const char *if_name);
 
 /** 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).
@@ -93,9 +93,10 @@ char *build_capture_combo_name(GList *if_list, gchar *if_name);
 /** Return the interface description (after setting it if not already set)
  *
  * @param capture_opts The capture_options structure that contains the used interface
+ * @param i The index of the interface
  *
- * @return A pointer to capture_ops->iface_descr
+ * @return A pointer to interface_opts->descr
  */
-const char *get_iface_description(capture_options *capture_opts);
+const char *get_iface_description_for_interface(capture_options *capture_opts, guint i);
 
 #endif