config_ini: header guards in conf.h

This commit is contained in:
Imbus 2025-11-03 03:06:29 +01:00
parent c0811e1a95
commit dd24ae4c07

View file

@ -1,3 +1,6 @@
#ifndef CONF_H
#define CONF_H
typedef struct ConfigEntry { typedef struct ConfigEntry {
char *key; char *key;
char *value; char *value;
@ -11,3 +14,5 @@ typedef struct {
Config *config_load(const char *filename); Config *config_load(const char *filename);
const char *config_get(Config *cfg, const char *key); const char *config_get(Config *cfg, const char *key);
void config_free(Config *cfg); void config_free(Config *cfg);
#endif // CONF_H