aboutsummaryrefslogtreecommitdiffstats
path: root/alert_box.h
diff options
context:
space:
mode:
Diffstat (limited to 'alert_box.h')
-rw-r--r--alert_box.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/alert_box.h b/alert_box.h
index 5c35d1896a..249d6aaafa 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.1 2004/02/11 00:55:27 guy Exp $
+ * $Id: alert_box.h,v 1.2 2004/02/11 01:23:23 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -31,6 +31,15 @@ extern "C" {
#endif /* __cplusplus */
/*
+ * 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
+ * for reading.
+ */
+extern void open_failure_alert_box(const char *filename, int err,
+ gboolean for_writing);
+
+/*
* Alert box for an invalid display filter expression.
* Assumes "dfilter_error_msg" has been set by "dfilter_compile()" to the
* error message for the filter.