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:
@@ -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
|
||||
Reference in New Issue
Block a user