diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-04 21:12:39 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-04 21:12:39 -0400 |
commit | 140659ba9c5542a83f087fbbe258115b909e422b (patch) | |
tree | f5bbb3143149974cf1efd5c061a4db4f0c50fe2f /config.c | |
parent | c32f7dd056a97fc322d1328c9c44d2e05d8bd7c6 (diff) |
Started work on the parser loop.
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -82,6 +82,8 @@ config *parse_config(const char *filename) { return NULL; } - for (; *buf != '\0'; buf++) { + for (; *buf != '\0'; buf = find_line(buf)) { + char *value; + char *name = strtok_r(buf, "=", &value); } } |