mirror of
https://github.com/fumiama/fumidb.git
synced 2026-06-10 13:10:37 +08:00
add types
This commit is contained in:
16
include/types/int8.h
Normal file
16
include/types/int8.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef _TYPE_INT8_H_
|
||||
#define _TYPE_INT8_H_
|
||||
|
||||
#include "../types.h"
|
||||
|
||||
#define INT8_INDEX_SZ (256*8)
|
||||
|
||||
uint64_t create_int8_index(int fd);
|
||||
|
||||
int insert_int8_item(int fd, uint64_t index, key_t k, uint64_t ptr);
|
||||
|
||||
uint64_t find_item_by_int8_key(int fd, uint64_t index, key_t k);
|
||||
|
||||
int remove_item_by_int8_key(int fd, uint64_t index, key_t k);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user