conf: added config_quark()
This GQuark will be used for GErrors related to malformed configuration.
This commit is contained in:
10
src/conf.h
10
src/conf.h
@@ -97,6 +97,16 @@ struct config_param {
|
|||||||
bool used;
|
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_init(void);
|
||||||
void config_global_finish(void);
|
void config_global_finish(void);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user