summaryrefslogtreecommitdiff
path: root/epan/prefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index 4b2187dd7c..2fbeccd4e3 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -235,6 +235,14 @@ extern guint prefs_modules_foreach(module_cb callback, gpointer user_data);
*/
extern void prefs_apply_all(void);
+/*
+ * Call the "apply" callback function for a specific module if any of
+ * its preferences have changed, and then clear the flag saying its
+ * preferences have changed, as the module has been notified of that
+ * fact.
+ */
+extern void prefs_apply(module_t *module);
+
struct preference;
typedef struct preference pref_t;