diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-11 18:58:02 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-11 18:58:02 +0000 |
commit | 0bcf2de0d94117c55ecdf109992ec1b9a3634e57 (patch) | |
tree | 739275caf1f64b3300b2547aeea2926683299a5d /prefs-int.h | |
parent | e694a0fbe2be2ab8816323f642ddfaed3bfde304 (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.
svn path=/trunk/; revision=5446
Diffstat (limited to 'prefs-int.h')
-rw-r--r-- | prefs-int.h | 4 |
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 */ }; /* |