1 #ifndef __CMPH_BUFFER_MANAGE_H__
2 #define __CMPH_BUFFER_MANAGE_H__
3
4 #include "cmph_types.h"
5 #include <stdio.h>
6 typedef struct __buffer_manage_t buffer_manage_t;
7
8 buffer_manage_t * buffer_manage_new(cmph_uint32 memory_avail, cmph_uint32 nentries);
9 void buffer_manage_open(buffer_manage_t * buffer_manage, cmph_uint32 index, char * filename);
10 cmph_uint8 * buffer_manage_read_key(buffer_manage_t * buffer_manage, cmph_uint32 index);
11 void buffer_manage_destroy(buffer_manage_t * buffer_manage);
12 #endif