summaryrefslogtreecommitdiff
path: root/epan/filesystem.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-24 02:01:44 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-24 02:01:44 +0000
commitd8d91ff347dd4a68e4d4f7ed07a5f22e34d2ac51 (patch)
tree9f1df1252f3f0f7e743e8f48351a48353511c82a /epan/filesystem.h
parent4377e456d43269d2e229caba8cb4e3741d20316e (diff)
downloadwireshark-d8d91ff347dd4a68e4d4f7ed07a5f22e34d2ac51.tar.gz
As with "cf_open_error_message()"/"file_open_error_message()", so with
"cf_write_error_message()"/"file_write_error_message()". Use "file_open_error_message()" instead of "cf_open_error_message()" in some places we missed in the previous checkin. Catch ENOSPC and EDQUOT in "file_open_error_message()". Use "file_open_error_message()" rather than "file_write_error_message()" to report errors when creating the file to which we're saving the "Follow TCP Stream" data. svn path=/trunk/; revision=9823
Diffstat (limited to 'epan/filesystem.h')
-rw-r--r--epan/filesystem.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/epan/filesystem.h b/epan/filesystem.h
index 1148ba1fd6..e0d7295a5a 100644
--- a/epan/filesystem.h
+++ b/epan/filesystem.h
@@ -1,7 +1,7 @@
/* filesystem.h
* Filesystem utility definitions
*
- * $Id: filesystem.h,v 1.16 2004/01/24 01:44:29 guy Exp $
+ * $Id: filesystem.h,v 1.17 2004/01/24 02:01:43 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -123,8 +123,15 @@ extern char *get_tempfile_path(const char *filename);
gboolean deletefile (const char *path);
/*
- * Return an error message for UNIX-style errno indications.
+ * Return an error message for UNIX-style errno indications on open or
+ * create operations.
*/
char *file_open_error_message(int err, gboolean for_writing);
+/*
+ * Return an error message for UNIX-style errno indications on write
+ * operations.
+ */
+char *file_write_error_message(int err);
+
#endif /* FILESYSTEM_H */