aboutsummaryrefslogtreecommitdiffstats
path: root/alert_box.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 /alert_box.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 'alert_box.h')
-rw-r--r--alert_box.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/alert_box.h b/alert_box.h
index 807f1106f0..fbe4b1c463 100644
--- a/alert_box.h
+++ b/alert_box.h
@@ -2,7 +2,7 @@
* Routines to put up various "standard" alert boxes used in multiple
* places
*
- * $Id: alert_box.h,v 1.4 2004/03/23 21:19:55 guy Exp $
+ * $Id: alert_box.h,v 1.5 2004/04/16 23:16:28 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -31,6 +31,11 @@ extern "C" {
#endif /* __cplusplus */
/*
+ * Alert box for general errors.
+ */
+extern void failure_alert_box(const char *msg_format, va_list ap);
+
+/*
* Alert box for a failed attempt to open or create a file.
* "err" is assumed to be a UNIX-style errno; "for_writing" is TRUE if
* the file is being opened for writing and FALSE if it's being opened