config_ini: header guards in conf.h
This commit is contained in:
parent
c0811e1a95
commit
dd24ae4c07
1 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef CONF_H
|
||||
#define CONF_H
|
||||
|
||||
typedef struct ConfigEntry {
|
||||
char *key;
|
||||
char *value;
|
||||
|
|
@ -11,3 +14,5 @@ typedef struct {
|
|||
Config *config_load(const char *filename);
|
||||
const char *config_get(Config *cfg, const char *key);
|
||||
void config_free(Config *cfg);
|
||||
|
||||
#endif // CONF_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue