tests: file lists [not finished]

This commit is contained in:
2026-06-18 20:36:27 +03:00
parent 158899d2bf
commit 573907a0c5
8 changed files with 108 additions and 25 deletions
+11 -2
View File
@@ -1,4 +1,13 @@
#include "../../src/main.h"
void fill_list_with_samples(fl_t *fl_samples, fl_t **fl_st,
fl_t **fl_cur, int amount);
typedef struct {
char *ptr;
size_t len;
size_t capacity;
} dbuf_t;
void fill_list_with_samples(fl_t *fl_samples, fl_t **fl_st, fl_t **fl_cur,
int amount);
dbuf_t *dbuf_init(size_t init_sz);
int32_t dbuf_write(const char *text, size_t len, dbuf_t **dbuf);
int32_t dbuf_destroy(dbuf_t **dbuf);