summaryrefslogtreecommitdiff
path: root/epan/prefs-int.h
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-02-03 14:25:02 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-02-03 14:25:02 +0000
commitd70a58f881e34d3a83533236d0fe74e425a0700f (patch)
tree683c63d63061635121c0893a08d8320a910299da /epan/prefs-int.h
parent009d38e6a0accceef00a1209cfe7f6708e8b30ee (diff)
downloadwireshark-d70a58f881e34d3a83533236d0fe74e425a0700f.tar.gz
second iteration:
* fields of an uat table now are passed using an array of uat_filed_t * field callbacks take two more userdata arguments * add some macros to define uat field callbacks. * uats can be registered as preferences for a specific protocol - the preference widget is a button that opens the uat's window * dfilter-macro => reflect changes to API svn path=/trunk/; revision=20695
Diffstat (limited to 'epan/prefs-int.h')
-rw-r--r--epan/prefs-int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/prefs-int.h b/epan/prefs-int.h
index 508e637188..547ae36742 100644
--- a/epan/prefs-int.h
+++ b/epan/prefs-int.h
@@ -56,6 +56,7 @@ typedef enum {
PREF_STRING,
PREF_RANGE,
PREF_STATIC_TEXT,
+ PREF_UAT,
PREF_OBSOLETE
} pref_type_t;
@@ -71,6 +72,7 @@ struct preference {
gint *enump;
const char **string;
range_t **range;
+ void* uat;
} varp; /* pointer to variable storing the value */
union {
guint uint;