summaryrefslogtreecommitdiff
path: root/resource/csdk
diff options
context:
space:
mode:
authorDan Mihai <Daniel.Mihai@microsoft.com>2017-04-19 15:41:11 -0700
committerDan Mihai <Daniel.Mihai@microsoft.com>2017-04-27 03:33:36 +0000
commitb5b86ce52c0251101bb2db4593d7c352c3c92001 (patch)
tree4f8fbc876ed093e1745e1abf09970f59f0a75649 /resource/csdk
parent4aa1474b84b7f16353da64808d03634affa99a77 (diff)
downloadiotivity-b5b86ce52c0251101bb2db4593d7c352c3c92001.tar.gz
iotivity-b5b86ce52c0251101bb2db4593d7c352c3c92001.tar.bz2
iotivity-b5b86ce52c0251101bb2db4593d7c352c3c92001.zip
Windows: Timer APIs are not Security APIs
There are currently no callers inside IoTivity that are dependent on these registerTimer and unregisterTimer exports. Also, callers can get access to these APIs by linking with static lib c_common. Given these circumstances, one might argue that octbstack.dll should not exports these two functions. But, they were already exported in IoTivity 1.2, so they might be important for compatibity with hypothetical already-existing IoTivity apps on Windows. Change-Id: I708d8230e3b6e2f631e89fae2d9b3fab41c93108 Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/19239 Tested-by: jenkins-iotivity <jenkins@iotivity.org> Reviewed-by: Kevin Kane <kkane@microsoft.com> Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Diffstat (limited to 'resource/csdk')
-rw-r--r--resource/csdk/stack/octbstack_product.def3
-rw-r--r--resource/csdk/stack/octbstack_product_secured.def3
2 files changed, 3 insertions, 3 deletions
diff --git a/resource/csdk/stack/octbstack_product.def b/resource/csdk/stack/octbstack_product.def
index ba2216f8f..e43ff9717 100644
--- a/resource/csdk/stack/octbstack_product.def
+++ b/resource/csdk/stack/octbstack_product.def
@@ -148,3 +148,6 @@ oc_log_set_module
oc_log_write
oc_make_console_logger
oc_make_ostream_logger
+
+registerTimer
+unregisterTimer
diff --git a/resource/csdk/stack/octbstack_product_secured.def b/resource/csdk/stack/octbstack_product_secured.def
index bed33ff5c..14df087f4 100644
--- a/resource/csdk/stack/octbstack_product_secured.def
+++ b/resource/csdk/stack/octbstack_product_secured.def
@@ -75,6 +75,3 @@ SetUserConfirmCB
UnsetUserConfirmCB
SetVerifyOption
VerifyOwnershipTransfer
-
-registerTimer
-unregisterTimer \ No newline at end of file