commit 1aa158f02842a44910960564e50f068ee5ab7f29 parent 02d8ae9b2760083c25ff79c37e169611dbbce6f4 Author: Renev Pavel <an2qzavok@gmail.com> Date: Fri, 28 Oct 2022 11:04:57 +0000 src/besde Diffstat:
A | src/besde/besde.c | | | 27 | +++++++++++++++++++++++++++ |
A | src/besde/mkfile | | | 0 | |
A | src/besde/readme | | | 1 | + |
3 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/src/besde/besde.c b/src/besde/besde.c @@ -0,0 +1,27 @@ +#include <u.h> +#include <libc.h> + + +typedef struct Cell Cell; +struct Cell { + int type; + long n; + char *p; +}; + +/* + required opeartions: + - fetch (id -> Cell *) + - store (id, Cell * -> _ ) +*/ + +Cell * +fetch(long id) +{ + return nil; +} + +void +store(long id, Cell *c) +{ +} diff --git a/src/besde/mkfile b/src/besde/mkfile diff --git a/src/besde/readme b/src/besde/readme @@ -0,0 +1 @@ +Besde is a general purpose binary tree storage facility.