[IOT-2013] Windows: export C RD APIs from octbstack.dll
authorDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 10 Apr 2017 23:57:41 +0000 (16:57 -0700)
committerMike Fenelon <mike.fenelon@microsoft.com>
Mon, 17 Apr 2017 22:16:26 +0000 (22:16 +0000)
commit23ebc0fffd8b8fe3e6039d58bc5ac11101c3decf
tree39d8361c71cd00f9e9ed87ee641e6fbe0d619d22
parent7daecff61e1f0a432c732c7400f1681066174c75
[IOT-2013] Windows: export C RD APIs from octbstack.dll

Windows currently has several different copies of the implementation
for these APIs. Other platforms are using a single copy of shared
library resource_directory, in each process/app.

It's better to avoid differences across platforms, because otherwise
changes tested on one platform might not work on the other platforms.

Note that the C++ APIs for resource_directory clients remain inside
the static resource_directory.lib, so there can be multiple copies of
the C++ API implementation in each Windows process.

Change-Id: I07683359c265989d9921cd28da6ccd83d30f06af
Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18775
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Mike Fenelon <mike.fenelon@microsoft.com>
build_common/windows/SConscript
resource/csdk/resource-directory/SConscript
resource/csdk/resource-directory/src/RDClient.cpp
resource/csdk/stack/SConscript
resource/csdk/stack/octbstack_product.def
resource/csdk/stack/octbstack_rd_client.def [new file with mode: 0644]
resource/csdk/stack/octbstack_rd_server.def [new file with mode: 0644]