some progress

This commit is contained in:
veclavtlica
2026-10-07 11:21:21 +03:00
parent 14062e9d00
commit 8d502173a2
26 changed files with 705 additions and 212 deletions
+13
View File
@@ -0,0 +1,13 @@
#include "buf.h"
#include <stddef.h>
#include <stdint.h>
struct com_buf *com_buf_make(uint32_t cap, uint32_t flags) { return NULL; }
bool com_buf_make_room(struct com_buf *b, uint32_t n) {
if (b->cap - b->len >= n)
return true;
return false;
}
void com_buf_free(struct com_buf *b) {}