From 98c8caa28a02354c86ea5788c6d7a09e38147f79 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期三, 29 七月 2020 17:56:49 +0800
Subject: [PATCH] add alloc key

---
 libcsoftbus.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libcsoftbus.h b/libcsoftbus.h
index 4e8a86c..1885b61 100644
--- a/libcsoftbus.h
+++ b/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);
 

--
Gitblit v1.8.0