From b5b86ce52c0251101bb2db4593d7c352c3c92001 Mon Sep 17 00:00:00 2001 From: Dan Mihai Date: Wed, 19 Apr 2017 15:41:11 -0700 Subject: [PATCH] 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 Reviewed-on: https://gerrit.iotivity.org/gerrit/19239 Tested-by: jenkins-iotivity Reviewed-by: Kevin Kane Reviewed-by: Dave Thaler --- resource/csdk/stack/octbstack_product.def | 3 +++ resource/csdk/stack/octbstack_product_secured.def | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resource/csdk/stack/octbstack_product.def b/resource/csdk/stack/octbstack_product.def index ba2216f..e43ff97 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 bed33ff..14df087 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 -- 2.7.4