zhangmeng
2020-07-29 98c8caa28a02354c86ea5788c6d7a09e38147f79
libcsoftbus.h
@@ -10,6 +10,7 @@
// shm manipulate
static tfn_shm_init             fn_shm_init = NULL;
static tfn_shm_alloc_key        fn_shm_alloc_key = NULL;
static tfn_shm_destroy          fn_shm_destroy = NULL;
static tfn_shm_rm_dead_queue    fn_shm_rm_dead_queue = NULL;
@@ -64,6 +65,7 @@
// labels
// shm
const static char l_shm_init[] = "shm_init";
const static char l_shm_alloc_key[] = "shm_alloc_key";
const static char l_shm_destroy[] = "shm_destroy";
const static char l_shm_rm_dead_queue[] = "shm_remove_queues_exclude";
@@ -122,6 +124,7 @@
// shm manipulate
void wrap_fn_shm_init(hcsoftbus lib, int size);
int wrap_fn_shm_alloc_key(hcsoftbus lib);
void wrap_fn_shm_destroy(hcsoftbus lib);
void wrap_fn_shm_rm_dead_queue(hcsoftbus lib, void *array, int len);