zhangmeng
2021-02-22 e888eb3aa0ee76cdbb9a8193be40075857d1cf41
libcbhomebus.h
@@ -12,6 +12,7 @@
// shm manipulate
static tfn_shm_init                             fn_shm_init = NULL;
static tfn_shm_alloc_key                        fn_shm_alloc_key = NULL;
static tfn_shm_start_resycle                    fn_shm_start_recycle = NULL;
static tfn_shm_destroy                          fn_shm_destroy = NULL;
static tfn_shm_remove_keys                      fn_shm_remove_keys = NULL;
static tfn_shm_remove_keys_exclude              fn_shm_remove_keys_exclude = NULL;
@@ -63,6 +64,7 @@
// shm
const static char l_shm_init[] = "shm_mm_wrapper_init";
const static char l_shm_destroy[] = "shm_mm_wrapper_destroy";
const static char l_shm_start_recycle[] = "shm_mm_wrapper_start_resycle";
const static char l_shm_alloc_key[] = "shm_mm_wrapper_alloc_key";
const static char l_shm_remove_keys[] = "shm_mm_wrapper_remove_keys";
const static char l_shm_remove_keys_exclude[] = "shm_mm_wrapper_remove_keys_exclude";
@@ -119,6 +121,7 @@
// shm manipulate
void wrap_fn_shm_init(hbhomebus lib, int size);
int wrap_fn_shm_alloc_key(hbhomebus lib);
int wrap_fn_shm_start_recycle(hbhomebus lib);
void wrap_fn_shm_destroy(hbhomebus lib);
int wrap_fn_shm_remove_keys(hbhomebus lib, void *keys, int length);
int wrap_fn_shm_remove_keys_exclude(hbhomebus lib, void *keys, int length);