aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-04-26 21:59:11 +0000
committerGerald Combs <gerald@wireshark.org>2011-04-26 21:59:11 +0000
commitc6fecb57b0641d83c00f8c07d7b75125ad9c81c3 (patch)
tree85d7982fbcded140cf5573aa8376dbd89a05ba70 /epan/prefs.h
parent6eae60aa2f50e5d18c784b74d2ae70182c2d0566 (diff)
From Ivan Sy via bug 3343:
- Support for DTLS and SSL RSA keys list using User Accessible Table - Support for IPv6 SSL as posted by bug#3343 comment#1 - 'any' and 'anyipv4' for IPv4 wildcard - 'anyipv6' for IPv6 wildcard - UAT fields validation. From me: - Update paramaters to match UAT API changes. - Change the UAT filename. - Fix buffer overflow for IPv6 addresses. - Allow the use of hostnames along with numeric addresses. - Don't convert strings to addresses twice. - Don't use the same variable name for different data types. - Make "any" mean "any IPv4 or any IPv6". - Bend the concept of obsolete preferences slightly so that we can convert and old-style key list to a UAT. - Clean up whitespace. - Don't point to a User's Guide section for now; it may make more sense to keep using the wiki page. SSL dissector changes have been tested. DTLS dissector changes have not. svn path=/trunk/; revision=36875
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index 3cfa157042..fd2f92049f 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -373,6 +373,7 @@ extern void prefs_register_uat_preference(module_t *module,
extern void prefs_register_obsolete_preference(module_t *module,
const char *name);
+
typedef guint (*pref_cb)(pref_t *pref, gpointer user_data);
/*
@@ -444,6 +445,15 @@ typedef enum {
extern prefs_set_pref_e prefs_set_pref(char *prefarg);
/*
+ * Get or set a preference's obsolete status. These can be used to make a
+ * preference obsolete after startup so that we can fetch its value but
+ * keep it from showing up in the prefrences dialog.
+ */
+extern gboolean prefs_get_preference_obsolete(pref_t *pref);
+extern prefs_set_pref_e prefs_set_preference_obsolete(pref_t *pref);
+
+
+/*
* Returns TRUE if the given device is hidden
*/
extern gboolean prefs_is_capture_device_hidden(const char *name);