00001
00002
00003 #ifndef AITOOLS_BIGHASHMAP_JNA_FUNCTIONS_HPP
00004 #define AITOOLS_BIGHASHMAP_JNA_FUNCTIONS_HPP
00005
00006 #include "bighashmap.hpp"
00007
00008 #ifdef __cplusplus
00009 extern "C" {
00010 #endif
00011
00012 const char*
00013 bhm_build(int type_id, const char* src_dir, const char* dst_dir);
00014
00015 aitools::raw_big_hash_map*
00016 bhm_open(int type_id, const char* idx_file, aitools::memory_type memory);
00017
00018 bool
00019 bhm_find(aitools::raw_big_hash_map* bhm, const char* key, char* value);
00020
00021 int64_t
00022 bhm_size(aitools::raw_big_hash_map* bhm);
00023
00024 void
00025 bhm_close(aitools::raw_big_hash_map* bhm);
00026
00027 #ifdef __cplusplus
00028 }
00029 #endif
00030 #endif // AITOOLS_BIGHASHMAP_JNA_FUNCTIONS_HPP