Add discovery set/remove item capi
authorJuyeon Lee <juyeonne.lee@samsung.com>
Thu, 23 Sep 2021 01:00:33 +0000 (10:00 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Thu, 23 Sep 2021 06:13:45 +0000 (15:13 +0900)
Change-Id: I9ebd7bc760cde8c2da4964875d2fdc98446423ee
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
subprojects/libbeyond-generic-capi/include/beyond/discovery.h
subprojects/libbeyond-generic-capi/src/discovery_capi.cc

index 83ff00af744daa88ce0f49dbe9efa8f7c2dd8b8e..c16fdda3bf62a5b808a6fb08dd6fda0c5c200182 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <beyond/common.h>
 #include <beyond/session.h>
+#include <stdint.h>
 
 #if defined(__cplusplus)
 extern "C" {
@@ -44,6 +45,9 @@ API int beyond_discovery_deactivate(beyond_discovery_h handle);
 
 API void beyond_discovery_destroy(beyond_discovery_h handle);
 
+API int beyond_discovery_set_item(beyond_discovery_h handle, const char *key, const void *value, uint8_t valueSize);
+API int beyond_discovery_remove_item(beyond_discovery_h handle, const char *key);
+
 #if defined(__cplusplus)
 }
 #endif
index 6d2b776a29196a9a2ac3d327277b9c346ed57162..7a8012e1316fb8ce269080e7890a84aecba7b221 100644 (file)
@@ -95,3 +95,13 @@ void beyond_discovery_destroy(beyond_discovery_h handle)
 {
     return;
 }
+
+int beyond_discovery_set_item(beyond_discovery_h handle, const char *key, const void *value, uint8_t valueSize)
+{
+    return -ENOSYS;
+}
+
+int beyond_discovery_remove_item(beyond_discovery_h handle, const char *key)
+{
+    return -ENOSYS;
+}