summaryrefslogtreecommitdiff
path: root/ui/alert_box.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/alert_box.h')
-rw-r--r--ui/alert_box.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/alert_box.h b/ui/alert_box.h
index bd19963279..1660749dc7 100644
--- a/ui/alert_box.h
+++ b/ui/alert_box.h
@@ -53,6 +53,15 @@ extern void cfile_open_failure_alert_box(const char *filename, int err,
int file_type);
/*
+ * Alert box for a failed attempt to read from a capture file.
+ * "err" is assumed to be a UNIX-style errno or a WTAP_ERR_ value;
+ * "err_info" is assumed to be a string giving further information for
+ * some WTAP_ERR_ values.
+ */
+extern void cfile_read_failure_alert_box(const char *filename, int err,
+ gchar *err_info);
+
+/*
* Alert box for a failed attempt to close a capture file.
* "err" is assumed to be a UNIX-style errno or a WTAP_ERR_ value.
*