mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-17 22:05:22 -05:00
config: enable user to specify path to configuration file
This commit is contained in:
parent
d15631e3de
commit
caa76bcdea
3 changed files with 65 additions and 35 deletions
2
config.h
2
config.h
|
|
@ -38,5 +38,5 @@ struct config {
|
|||
char *server_socket_path;
|
||||
};
|
||||
|
||||
bool config_load(struct config *conf);
|
||||
bool config_load(struct config *conf, const char *path);
|
||||
void config_free(struct config conf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue