Commit a923080d authored by Max Kellermann's avatar Max Kellermann

conf: added config_quark()

This GQuark will be used for GErrors related to malformed configuration.
parent 706614b0
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment