summaryrefslogtreecommitdiff
path: root/capture_ui_utils.h
diff options
context:
space:
mode:
authorIrene RĂ¼ngeler <I.Ruengeler@fh-muenster.de>2013-03-07 09:16:55 +0000
committerIrene RĂ¼ngeler <I.Ruengeler@fh-muenster.de>2013-03-07 09:16:55 +0000
commitcb42bc9fecdad3be3bbbe52c1e733424060a7ad5 (patch)
tree9d66cb30068fe6c50cb73e91d4c0426ed139c961 /capture_ui_utils.h
parentd4e23d8daaeb1e319c1682c7b8f1899e8a31a20f (diff)
downloadwireshark-cb42bc9fecdad3be3bbbe52c1e733424060a7ad5.tar.gz
Add buffersize and snap length to the preferences.
svn path=/trunk/; revision=48163
Diffstat (limited to 'capture_ui_utils.h')
-rw-r--r--capture_ui_utils.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/capture_ui_utils.h b/capture_ui_utils.h
index 60b3bc1654..d95a792b1c 100644
--- a/capture_ui_utils.h
+++ b/capture_ui_utils.h
@@ -47,6 +47,21 @@ char *capture_dev_user_descr_find(const gchar *if_name);
*/
gint capture_dev_user_linktype_find(const gchar *if_name);
+#if defined(_WIN32) || defined(HAVE_PCAP_CREATE)
+/**
+ * Find user-specified buffer size that matches interface
+ * name, if any.
+ */
+gint capture_dev_user_buffersize_find(const gchar *if_name);
+#endif
+
+/**
+ * Find user-specified snap length that matches interface
+ * name, if any.
+ */
+gint capture_dev_user_snaplen_find(const gchar *if_name);
+gboolean capture_dev_user_hassnap_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 capture_interface_list() supplies a description, use that,