diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-02-03 14:25:02 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-02-03 14:25:02 +0000 |
commit | d70a58f881e34d3a83533236d0fe74e425a0700f (patch) | |
tree | 683c63d63061635121c0893a08d8320a910299da /epan/prefs.h | |
parent | 009d38e6a0accceef00a1209cfe7f6708e8b30ee (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
svn path=/trunk/; revision=20695
Diffstat (limited to 'epan/prefs.h')
-rw-r--r-- | epan/prefs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h index 1aa0751b25..52e1adeff0 100644 --- a/epan/prefs.h +++ b/epan/prefs.h @@ -314,6 +314,16 @@ extern void prefs_register_static_text_preference(module_t *module, const char * const char *title, const char *description); /* + * Register a uat 'preference'. It adds a button that opens the uat's window in the + * preferences tab of the module. + */ +extern void prefs_register_uat_preference(module_t *module, + const char *name, + const char* title, + const char *description, + void* uat); + +/* * Register a preference that used to be supported but no longer is. */ extern void prefs_register_obsolete_preference(module_t *module, |