1
0
mirror of https://github.com/fumiama/fumidb.git synced 2026-06-08 20:10:25 +08:00

add some funcs of table

This commit is contained in:
源文雨
2022-05-03 21:14:30 +08:00
parent 19e09bc630
commit d17f36b255
7 changed files with 174 additions and 16 deletions

View File

@@ -25,6 +25,8 @@ int set_first_unused_block(int fd, uint64_t ptr);
// 获得 ptr of unused blk 字段
uint64_t get_first_unused_block(int fd);
uint64_t get_next_unused_block(int fd, uint64_t ptr);
// 设置 ptr of next table 字段
// 返回:
// 0 成功
@@ -35,4 +37,6 @@ int set_first_table(int fd, uint64_t ptr);
// 获得 ptr of next table 字段
uint64_t get_first_table(int fd);
uint64_t get_next_table(int fd, uint64_t ptr);
#endif