diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-08-06 18:16:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-08-06 18:16:21 +0000 |
commit | b6aa3275fd6fe34ef34e13b74e644519ce6e9893 (patch) | |
tree | a27bfa4d6ba2bece7d0ee9765040f0ede15caad6 | |
parent | cae5898ad43682066e503f3378d266656f0d82d7 (diff) |
As per Bernd Becker's suggestion, add "register_giop_user_module()" and
"delete_giop_user_module()" to the list of exported functions on
platforms where a run-time loaded module can't directly access functions
from the main program.
svn path=/trunk/; revision=8143
-rw-r--r-- | plugins/Xepan_plugins.c | 2 | ||||
-rw-r--r-- | plugins/Xplugin_api.c | 2 | ||||
-rw-r--r-- | plugins/Xplugin_api.h | 2 | ||||
-rw-r--r-- | plugins/Xplugin_api_decls.h | 2 | ||||
-rw-r--r-- | plugins/Xplugin_table.h | 2 | ||||
-rw-r--r-- | plugins/plugin_api_list.c | 5 |
6 files changed, 14 insertions, 1 deletions
diff --git a/plugins/Xepan_plugins.c b/plugins/Xepan_plugins.c index 1e452a4409..3288b11322 100644 --- a/plugins/Xepan_plugins.c +++ b/plugins/Xepan_plugins.c @@ -213,3 +213,5 @@ patable.p_dissector_handle_get_short_name = dissector_handle_get_short_name; patable.p_dissector_handle_get_protocol_index = dissector_handle_get_protocol_index; patable.p_new_register_dissector = new_register_dissector; patable.p_new_create_dissector_handle = new_create_dissector_handle; +patable.p_register_giop_user_module = register_giop_user_module; +patable.p_delete_giop_user_module = delete_giop_user_module; diff --git a/plugins/Xplugin_api.c b/plugins/Xplugin_api.c index 680da9cab4..af70639e85 100644 --- a/plugins/Xplugin_api.c +++ b/plugins/Xplugin_api.c @@ -213,3 +213,5 @@ p_dissector_handle_get_short_name = pat->p_dissector_handle_get_short_name; p_dissector_handle_get_protocol_index = pat->p_dissector_handle_get_protocol_index; p_new_register_dissector = pat->p_new_register_dissector; p_new_create_dissector_handle = pat->p_new_create_dissector_handle; +p_register_giop_user_module = pat->p_register_giop_user_module; +p_delete_giop_user_module = pat->p_delete_giop_user_module; diff --git a/plugins/Xplugin_api.h b/plugins/Xplugin_api.h index cc7d06831e..90448bca29 100644 --- a/plugins/Xplugin_api.h +++ b/plugins/Xplugin_api.h @@ -213,3 +213,5 @@ #define dissector_handle_get_protocol_index (*p_dissector_handle_get_protocol_index) #define new_register_dissector (*p_new_register_dissector) #define new_create_dissector_handle (*p_new_create_dissector_handle) +#define register_giop_user_module (*p_register_giop_user_module) +#define delete_giop_user_module (*p_delete_giop_user_module) diff --git a/plugins/Xplugin_api_decls.h b/plugins/Xplugin_api_decls.h index e2ea9e1916..a506c79156 100644 --- a/plugins/Xplugin_api_decls.h +++ b/plugins/Xplugin_api_decls.h @@ -213,3 +213,5 @@ addr_dissector_handle_get_short_name p_dissector_handle_get_short_name; addr_dissector_handle_get_protocol_index p_dissector_handle_get_protocol_index; addr_new_register_dissector p_new_register_dissector; addr_new_create_dissector_handle p_new_create_dissector_handle; +addr_register_giop_user_module p_register_giop_user_module; +addr_delete_giop_user_module p_delete_giop_user_module; diff --git a/plugins/Xplugin_table.h b/plugins/Xplugin_table.h index da61856681..2cc50fc7ee 100644 --- a/plugins/Xplugin_table.h +++ b/plugins/Xplugin_table.h @@ -213,3 +213,5 @@ typedef char *(*addr_dissector_handle_get_short_name) (dissector_handle_t); typedef int (*addr_dissector_handle_get_protocol_index) (dissector_handle_t); typedef void (*addr_new_register_dissector) (const char *, new_dissector_t, int); typedef dissector_handle_t (*addr_new_create_dissector_handle) (new_dissector_t, int); +typedef void (*addr_register_giop_user_module) (giop_sub_dissector_t (*), gchar *, gchar *, int); +typedef void (*addr_delete_giop_user_module) (giop_sub_dissector_t (*), gchar *, gchar *); diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c index d6b142ed33..214dc4b772 100644 --- a/plugins/plugin_api_list.c +++ b/plugins/plugin_api_list.c @@ -1,7 +1,7 @@ /* plugin_api_list.c * Used to generate various included files for plugin API * - * $Id: plugin_api_list.c,v 1.3 2003/07/31 18:34:52 guy Exp $ + * $Id: plugin_api_list.c,v 1.4 2003/08/06 18:16:21 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -348,3 +348,6 @@ char *dissector_handle_get_short_name(dissector_handle_t); int dissector_handle_get_protocol_index(dissector_handle_t); void new_register_dissector(const char *, new_dissector_t, int); dissector_handle_t new_create_dissector_handle(new_dissector_t, int); + +void register_giop_user_module(giop_sub_dissector_t *sub, gchar *name, gchar *module, int sub_proto); +void delete_giop_user_module(giop_sub_dissector_t *sub, gchar *name, gchar *module); |