diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-04-16 23:17:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-04-16 23:17:13 +0000 |
commit | d209115ba38e1f5082ecdf702782da0f09a727d2 (patch) | |
tree | 16229621c009c052580c6152892a945af94e5bba /plugins/plugin_api_list.c | |
parent | a0146ed5bedbbee168eb8f0fc226cd56fa1dbd92 (diff) |
Add a "report_failure()" routine to allow dissectors to report arbitrary
errors to the user. Use that, rather than "g_warning()", in the
Diameter dissector to report errors reading the dictionary.
Make the format argument to "simple_dialog()" a "const" pointer.
Fix up the read-error message in Tethereal to end with a newline.
If a simple dialog is requested before the main window or the
capture-control window is popped up, queue it up and pop the queued
messages up once the main or capture-control window is displayed.
svn path=/trunk/; revision=10616
Diffstat (limited to 'plugins/plugin_api_list.c')
-rw-r--r-- | plugins/plugin_api_list.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c index 5ba305759d..2b47dbd7a0 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.33 2004/03/25 23:55:21 guy Exp $ + * $Id: plugin_api_list.c,v 1.34 2004/04/16 23:16:29 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -434,3 +434,6 @@ proto_item* proto_tree_get_parent(proto_tree *tree); proto_item* proto_item_get_parent(proto_item *ti); proto_item* proto_item_get_parent_nth(proto_item *ti, int gen); proto_item *get_ber_last_created_item(void); + +void report_failure(const char *msg_format, ...); + |