aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-04-16 23:17:13 +0000
committerGuy Harris <guy@alum.mit.edu>2004-04-16 23:17:13 +0000
commitd209115ba38e1f5082ecdf702782da0f09a727d2 (patch)
tree16229621c009c052580c6152892a945af94e5bba /epan/epan.h
parenta0146ed5bedbbee168eb8f0fc226cd56fa1dbd92 (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 'epan/epan.h')
-rw-r--r--epan/epan.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/epan.h b/epan/epan.h
index 3493a7f5a2..829baa4e47 100644
--- a/epan/epan.h
+++ b/epan/epan.h
@@ -1,6 +1,6 @@
/* epan.h
*
- * $Id: epan.h,v 1.16 2004/03/23 21:19:56 guy Exp $
+ * $Id: epan.h,v 1.17 2004/04/16 23:16:28 guy Exp $
*
* Ethereal Protocol Analyzer Library
*
@@ -34,6 +34,7 @@ typedef struct _epan_dissect_t epan_dissect_t;
void epan_init(const char * plugindir, void (*register_all_protocols)(void),
void (*register_all_handoffs)(void),
+ void (*report_failure)(const char *, va_list),
void (*report_open_failure)(const char *, int, gboolean),
void (*report_read_failure)(const char *, int));
void epan_cleanup(void);