diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/config.h b/config.h deleted file mode 100644 index 939d86b..0000000 --- a/config.h +++ /dev/null @@ -1,10 +0,0 @@ -#include <toml.h> - -static inline void config_getscopes(const char *scope_path, char **scopes) -{ - FILE *fp = fopen(scope_path, "r"); - toml_table_t* toml = toml_parse_file(fp, NULL, 0); - fclose(fp); - *scopes = toml_string_in(toml, "scopes").u.s; - toml_free(toml); -} |