1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef CONFIG_H #define CONFIG_H struct config { GKeyFile *keyfile; GList *priorities; }; struct priority { gchar *match, *value; gint priority; }; int config_init(struct config *cfg); void config_uninit(struct config *cfg); #endif /* CONFIG_H */