summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-22 13:47:41 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-22 13:47:41 +0800
commitd4ed21cc6a376623ee774b5ea3eb899bda2e69d1 (patch)
treedaeaafe434cec97ce9292dd822aa5102aab435c7 /config.h
parent335f478d49987e388805b405b8a76b02f2643bfe (diff)
Merge config.h as it's too small
Diffstat (limited to 'config.h')
-rw-r--r--config.h10
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);
-}