diff options
author | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-02-03 14:25:02 +0000 |
---|---|---|
committer | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-02-03 14:25:02 +0000 |
commit | a38ac2221a5a470ca9bbcdff0bb289d2fa870247 (patch) | |
tree | 683c63d63061635121c0893a08d8320a910299da /epan/prefs-int.h | |
parent | 5304b157dc7a8d1e6e9481aed348bbf803d11ecc (diff) |
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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20695 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/prefs-int.h')
-rw-r--r-- | epan/prefs-int.h | 2 |
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; |