typedef struct ConfigEntry { char *key; char *value; struct ConfigEntry *next; } ConfigEntry; typedef struct { ConfigEntry *head; } Config; Config *config_load(const char *filename); const char *config_get(Config *cfg, const char *key); void config_free(Config *cfg);