diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-02-11 01:37:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-02-11 01:37:13 +0000 |
commit | 3a4e71a724ca52e1783237f8860fb378920b6995 (patch) | |
tree | c57e2f278f03a464cb1198382341b74b6be4de4b /alert_box.h | |
parent | 727b913bbd2b41c6ece202f240f69e2f621833ac (diff) |
Add "write_failure_alert_box()" to put up an alert box for a failed
attempt to write to a file (or close a file opened for writing).
Get rid of no-longer-needed #includes of <epan/filesystem.h>.
svn path=/trunk/; revision=10027
Diffstat (limited to 'alert_box.h')
-rw-r--r-- | alert_box.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/alert_box.h b/alert_box.h index 249d6aaafa..667b8101ed 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.2 2004/02/11 01:23:23 guy Exp $ + * $Id: alert_box.h,v 1.3 2004/02/11 01:37:11 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -40,6 +40,12 @@ extern void open_failure_alert_box(const char *filename, int err, gboolean for_writing); /* + * Alert box for a failed attempt to write to a file. + * "err" is assumed to be a UNIX-style errno. + */ +extern void write_failure_alert_box(const char *filename, int err); + +/* * 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. |