- 2
- 0
- 约1.58万字
- 约 15页
- 2017-07-07 发布于湖北
- 举报
通用hash函数API
API意图:把struct交给hash封装库管理;hash封装库通过提供的element返回struct;
内含Mainfile,测试代码,文档说明。
Bug: 应该没,联系作者 HYPERLINK mailto:1003444262@ 1003444262@
Enjoy it;
目录结构。
hash {
work;// sourse insight 文件夹
/* 源文件文件夹*/
Hash{
Src{
Hash.c
Keymain.c
}
Inc{
Hash.h
}
Objs{
// 编译结构
}
Makefile // 文件
}
}
Hash.h
#ifndef __PORTING_HASH_H__
#define __PORTING_HASH_H__
#define HASH_HANDLE_T void*
typedef int (*hash_private_struct_id_t)(void* private_struct);
typedef int (*hash_private_element_id_t)(void* private_element);
typedef int (*hash_struct_element_match_t)(void* priva
原创力文档

文档评论(0)