diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-01-03 07:53:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-01-03 07:53:48 +0000 |
commit | 3613c121fe53a2bcd70a3004a589bc38ecc2864d (patch) | |
tree | 8b8fd854a5439a0fff7bcda55cebf9e519245b3c /plugins/plugin_api.c | |
parent | fee98dd94462787123ec7fa0d660044a4b1800c4 (diff) | |
download | wireshark-3613c121fe53a2bcd70a3004a589bc38ecc2864d.tar.gz |
Add a new "prefs_register_protocol()" routine, which is like
"prefs_register_module()" except that it takes a protocol index as
returned by "proto_register_protocol()" as its first argument, rather
than taking two character strings as arguments as its first two
arguments, and uses the protocol's abbreviation as the name to use for
preferences in the preferences file and the "-o" flag and uses the
protocol's short name as the name to use in the tabs in the
"Edit->Preferences" window.
svn path=/trunk/; revision=2812
Diffstat (limited to 'plugins/plugin_api.c')
-rw-r--r-- | plugins/plugin_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/plugin_api.c b/plugins/plugin_api.c index 942c5cbbbe..a9c2ad7749 100644 --- a/plugins/plugin_api.c +++ b/plugins/plugin_api.c @@ -1,7 +1,7 @@ /* plugin_api.c * Routines for Ethereal plugins. * - * $Id: plugin_api.c,v 1.13 2000/11/15 07:07:49 guy Exp $ + * $Id: plugin_api.c,v 1.14 2001/01/03 07:53:47 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez <gram@xiexie.org> @@ -135,7 +135,7 @@ plugin_address_table_init(plugin_address_table_t *pat) p_tvb_strneql = pat->p_tvb_strneql; p_tvb_strncaseeql = pat->p_tvb_strncaseeql; p_tvb_bytes_to_str = pat->p_tvb_bytes_to_str; - p_prefs_register_module = pat->p_prefs_register_module; + p_prefs_register_protocol = pat->p_prefs_register_protocol; p_prefs_register_uint_preference = pat->p_prefs_register_uint_preference; p_prefs_register_bool_preference = pat->p_prefs_register_bool_preference; p_prefs_register_enum_preference = pat->p_prefs_register_enum_preference; |