summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-24 01:44:29 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-24 01:44:29 +0000
commit46848f0a9ef2b8ceefdf75d8c75339778cd70e8c (patch)
treed4316f905060985bfa20d83b9b46102334975bb6 /file.h
parent49093048ac524c7eb2124c15a8db11d21c7fbab4 (diff)
downloadwireshark-46848f0a9ef2b8ceefdf75d8c75339778cd70e8c.tar.gz
Add a new "file_open_error_message()" routine in "epan/filesystem.c", to
translate UNIX errno values to a somewhat friendly message format string. Rename "file_open_error_message()" in "file.c" to "cf_open_error_message()", make "cf_open_error_message()" use the new "file_open_error_message()" for UNIX errno values, have "do_capture()" in "capture.c" use "file_open_error_message()" to report errors from "open()", and make "cf_open_error_message()" static as nothing outside "file.c" uses it. Do similar stuff in "tethereal.c". svn path=/trunk/; revision=9821
Diffstat (limited to 'file.h')
-rw-r--r--file.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/file.h b/file.h
index 3cd339ad92..f117acd3bf 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.111 2004/01/20 18:47:21 ulfl Exp $
+ * $Id: file.h,v 1.112 2004/01/24 01:44:28 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -95,7 +95,6 @@ int file_mv(char *from, char *to);
/* Copies a file. Returns 0 on failure, 1 on success */
int file_cp(char *from, char *to);
-char *file_open_error_message(int, gboolean, int);
char *file_read_error_message(int);
char *file_write_error_message(int);