aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-03 06:29:39 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-03 06:29:39 +0000
commit302c1164834d14e5b239f17b04e41c503c07605b (patch)
treee4574fea9d9f020a19787b715c774abd43b31570 /prefs.h
parent77e59876a7a34e094731791cbd95e07a637179c4 (diff)
Don't have "write_prefs()" display a dialog box if the attempt to open
the preferences file fails, have it return an error indication and the path of the preferences file, and have its caller display the dialog box. That way you don't have to drag in the dialog box code if you're going to use the preferences code in, say, a "line-mode" Ethereal. svn path=/trunk/; revision=1413
Diffstat (limited to 'prefs.h')
-rw-r--r--prefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/prefs.h b/prefs.h
index 5e53c58743..52e9a4675d 100644
--- a/prefs.h
+++ b/prefs.h
@@ -1,7 +1,7 @@
/* prefs.h
* Definitions for preference handling routines
*
- * $Id: prefs.h,v 1.13 1999/12/30 23:02:39 gram Exp $
+ * $Id: prefs.h,v 1.14 2000/01/03 06:29:33 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -54,6 +54,6 @@ typedef struct _e_prefs {
extern e_prefs prefs;
e_prefs* read_prefs(char **);
-void write_prefs(void);
+int write_prefs(char **);
#endif /* prefs.h */