summary refs log tree commit diff stats
path: root/src/common/cfgfiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/cfgfiles.h')
-rw-r--r--src/common/cfgfiles.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/cfgfiles.h b/src/common/cfgfiles.h
index b421884a..b0d57519 100644
--- a/src/common/cfgfiles.h
+++ b/src/common/cfgfiles.h
@@ -71,6 +71,11 @@ struct prefs
 	unsigned short offset;
 	unsigned short len;
 	unsigned short type;
+	/*
+	 * an optional function which will be called after the preference value has
+	 * been updated.
+	 */
+	void (*after_update)(void);
 };
 
 #define TYPE_STR 0