aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/conf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h
index 8891879e7..c1c0ab5d9 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -97,6 +97,16 @@ struct config_param {
bool used;
};
+/**
+ * A GQuark for GError instances, resulting from malformed
+ * configuration.
+ */
+static inline GQuark
+config_quark(void)
+{
+ return g_quark_from_static_string("config");
+}
+
void config_global_init(void);
void config_global_finish(void);