core: Add token buffer

Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
2026-05-23 02:57:50 -04:00
parent 74e2e8c772
commit 7ca4580893
4 changed files with 122 additions and 2 deletions
+5
View File
@@ -23,6 +23,11 @@ state_init(struct cescal_state *state, const char *pathname)
return -1;
}
if (tokbuf_init(&state->tokbuf) < 0) {
close(state->in_fd);
return -1;
}
return 0;
}