forked from lei.chen/myxce
25 lines
427 B
C
25 lines
427 B
C
#if !defined(__KVMGR_H__)
|
|
|
|
#define __KVMGR_H__ 1
|
|
|
|
#include "htab.h"
|
|
#include "mylock.h"
|
|
#include "xce/types.h"
|
|
#include "xlist.h"
|
|
#include "zarray.h"
|
|
|
|
typedef enum {
|
|
KVMGR_KEY_INT = 0,
|
|
KVMGR_KEY_STRING
|
|
} kvmgr_key_type_t;
|
|
|
|
typedef struct {
|
|
kvmgr_key_type_t key_type;
|
|
uint32_t nslots;
|
|
uint32_t delta;
|
|
destroy_fn_t datakiller;
|
|
} kvmgr_params_t;
|
|
|
|
extern typeinfo_t xkvmgr_type;
|
|
|
|
#endif
|