config file source

This commit is contained in:
2025-09-18 18:33:45 +02:00
parent 0b9c54adad
commit ebb8c4db46
5 changed files with 100 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
#include "types.h"
#ifndef CONFIG_FILE_H
#define CONFIG_FILE_H
ConfigFile config_file_read(char *path, bool free_path);
char *config_file_get_str(ConfigFile config, char *key, char *default_value);
int config_file_get_int(ConfigFile config, char *key, int default_value);
void config_file_free(ConfigFile config);
#endif /* CONFIG_FILE_H */