1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-22 12:10:42 +08:00

add ack cmd code

This commit is contained in:
源文雨
2022-04-17 16:46:28 +08:00
parent cf768d96da
commit 0bb8889ca4
4 changed files with 34 additions and 37 deletions

2
dict.h
View File

@@ -23,7 +23,7 @@ int init_dict(char* file_path, pthread_rwlock_t* mu);
int is_md5_equal(uint8_t* digest);
FILE* get_dict_fp_rd();
FILE* get_dict_fp_wr();
off_t get_dict_size(pthread_rwlock_t* mu);
off_t get_dict_size();
FILE* open_dict(uint8_t lock_type, uint32_t index, pthread_rwlock_t* mu);
#endif