mirror of
https://github.com/fumiama/simple-dict.git
synced 2026-06-20 10:50:23 +08:00
add mutex
This commit is contained in:
4
dict.h
4
dict.h
@@ -19,9 +19,9 @@ typedef struct DICT DICT;
|
||||
int init_dict(char* file_path);
|
||||
void close_dict(uint8_t lock_type, uint32_t index);
|
||||
int fill_md5();
|
||||
FILE* get_dict_fp(uint32_t index);
|
||||
FILE* get_dict_fp_wr();
|
||||
off_t get_dict_size();
|
||||
FILE* get_unique_dict_fp();
|
||||
FILE* get_dict_fp_rd();
|
||||
int is_md5_equal(uint8_t* digest);
|
||||
FILE *open_dict(uint8_t lock_type, uint32_t index);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user