aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-01-03 06:29:39 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-01-03 06:29:39 +0000
commit32063976966788167a9c0672985e101e7b4a0d2c (patch)
treee4574fea9d9f020a19787b715c774abd43b31570 /prefs.h
parentac62c670c3b2c37f4b1ebdd7c6b98592f028612a (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1413 f5534014-38df-0310-8fa8-9805f1628bb7
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 */