aboutsummaryrefslogtreecommitdiffstats
path: root/prefs-int.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-11 18:58:02 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-11 18:58:02 +0000
commit28b719a3628286913b517a884fe53369aecc16e9 (patch)
tree739275caf1f64b3300b2547aeea2926683299a5d /prefs-int.h
parenteec032c757b5e550fb847fdbfdfc503cc3fe3efa (diff)
Add a mechanism for registering "obsolete" preference modules, so that
if a dissector had preferences at one point but no longer does, it can register that fact, so that the old preferences in the preference file are silently ignored. Use that mechanism in the NCP dissector. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5446 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'prefs-int.h')
-rw-r--r--prefs-int.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/prefs-int.h b/prefs-int.h
index 352e19f663..d20cd0a19d 100644
--- a/prefs-int.h
+++ b/prefs-int.h
@@ -2,7 +2,7 @@
* Definitions for implementation of preference handling routines;
* used by "friends" of the preferences type.
*
- * $Id: prefs-int.h,v 1.4 2001/11/04 02:50:19 guy Exp $
+ * $Id: prefs-int.h,v 1.5 2002/05/11 18:58:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -33,6 +33,8 @@ struct pref_module {
GList *prefs; /* list of its preferences */
int numprefs; /* number of preferences */
gboolean prefs_changed; /* if TRUE, a preference has changed since we last checked */
+ gboolean obsolete; /* if TRUE, this is a module that used to
+ exist but no longer does */
};
/*