chore: modularize PAM

also helps with sanitizing the code flow when spawning the child, more
code though
This commit is contained in:
2025-08-27 19:31:46 +02:00
parent ddc38ef27f
commit b56aa19671
7 changed files with 303 additions and 185 deletions

View File

@@ -30,6 +30,8 @@ struct Vector {
void** pages;
};
struct Vector vec_from_raw(void** raw);
void** vec_as_raw(struct Vector self);
extern const struct Vector VEC_NEW;
int vec_resize(struct Vector* self, size_t size);
int vec_reserve(struct Vector* self, size_t size);