'iotivity_debug.h', 'c_common', 'iotivity_debug.h')
common_env.UserInstallTargetHeader(
'platform_features.h', 'c_common', 'platform_features.h')
+common_env.UserInstallTargetHeader(
+ 'experimental/byte_array.h', 'c_common/experimental', 'byte_array.h')
+
Clean(commonlib, config_h_file_path)
#include "cacommon.h"
-#include "byte_array.h"
+#include "experimental/byte_array.h"
#ifdef __cplusplus
extern "C"
#include "caipinterface.h"
#include "oic_malloc.h"
#include "ocrandom.h"
-#include "byte_array.h"
+#include "experimental/byte_array.h"
#include "octhread.h"
#include "octimer.h"
libocsrm = libocsrm_env.StaticLibrary('ocsrm', libocsrm_src)
libocsrm_env.InstallTarget(libocsrm, 'ocsrm')
+libocsrm_env.UserInstallTargetHeader(
+ 'include/experimental/securevirtualresourcetypes.h',
+ 'resource/stack/experimental', 'securevirtualresourcetypes.h')
#include <stdint.h> // for uint8_t typedef
#include <stdbool.h>
#if defined(__WITH_DTLS__) || defined(__WITH_TLS__)
-#include "byte_array.h"
+#include "experimental/byte_array.h"
#endif /* __WITH_DTLS__ or __WITH_TLS__*/
#ifdef __cplusplus
#include "oic_malloc.h"
#include "ocrandom.h"
#include "utlist.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C"
#define IOTVT_SRM_CREDR_H
#include "cainterface.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "octypes.h"
#include "rolesresource.h"
#include <cbor.h>
#define CRL_LOGGING_H_
#include "logger.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C"
#define IOTVT_SRM_CSRR_H
#include "cainterface.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "octypes.h"
#if defined(__WITH_TLS__) || defined(__WITH_DTLS__)
#define DEVICEONBOARDINGSTATE_H_
#include "octypes.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C" {
#include <stdbool.h>\r
#include "ocstack.h"\r
#include "pmtypes.h"\r
-#include "securevirtualresourcetypes.h"\r
+#include "experimental/securevirtualresourcetypes.h"\r
\r
#ifdef __cplusplus\r
extern "C"\r
#include "ocstack.h"
#include "logger.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "secureresourcemanager.h"
#include "cainterface.h"
#include <stdlib.h>
#include <stdlib.h>
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C" {
#if defined(__WITH_DTLS__) || defined(__WITH_TLS__)
#include "cainterface.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "octypes.h"
#ifdef __cplusplus
#ifndef SECURITYRESOURCEMANAGER_H_
#define SECURITYRESOURCEMANAGER_H_
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "cainterface.h"
#ifdef __cplusplus
#ifndef IOTVT_SRM_RSRC_STRINGS_H
#define IOTVT_SRM_RSRC_STRINGS_H
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C" {
#ifndef OCCERTUTILITY_H_
#define OCCERTUTILITY_H_
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C" {
#ifndef _OXM_VERIFY_COMMON_
#define _OXM_VERIFY_COMMON_
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "casecurityinterface.h"
#ifdef __cplusplus
#ifndef PIN_CALLBACK_DEF_H_
#define PIN_CALLBACK_DEF_H_
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "casecurityinterface.h"
#ifdef __cplusplus
#define IOTVT_SRM_UTILITY_H
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C"
{
#define OC_CLOUD_PROVISIONING_H
#include "octypes.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C" {
#define PM_CREDENTIAL_GENERATOR_H
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C" {
#include "pmtypes.h"
#include "ocstack.h"
#include "octypes.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C" {
#include "pmtypes.h"
#include "ocstack.h"
#include "octypes.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "ownershiptransfermanager.h"
#ifdef __cplusplus
#include "pmtypes.h"\r
#include "ocstack.h"\r
#include "octypes.h"\r
-#include "securevirtualresourcetypes.h"\r
+#include "experimental/securevirtualresourcetypes.h"\r
\r
#ifdef __cplusplus\r
extern "C" {\r
#ifndef PROVISIONING_DATABASE_MANAGER_H
#define PROVISIONING_DATABASE_MANAGER_H
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "ocstack.h"
#include "pmtypes.h"
#define SRP_SECURERESOURCEPROVIDER_H
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "pmtypes.h"
#include "octypes.h"
#include "pmtypes.h"
#include "ownershiptransfermanager.h"
#ifdef MULTIPLE_OWNER
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#endif //MULTIPLE_OWNER
#ifdef __cplusplus
#define OXM_JUST_WORKS_H_
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "ownershiptransfermanager.h"
#ifdef __cplusplus
#define _OXM_MANUFACTURER_CERTIFICATE_H_
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "ownershiptransfermanager.h"
#include "pmtypes.h"
#define OXM_PRECONF_PIN_H_
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "ownershiptransfermanager.h"
#include "pmtypes.h"
#include "pinoxmcommon.h"
#define OXM_RANDOM_PIN_H_
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "ownershiptransfermanager.h"
#include "pmtypes.h"
#include "pinoxmcommon.h"
#define OC_PROVISIONING_TYPES_H
#include <stdbool.h>
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C" {
#include "ocprovisioningmanager.h"
#include "oxmjustworks.h"
#include "oxmrandompin.h"
-#include "securevirtualresourcetypes.h"
#include "srmutility.h"
#include "pmtypes.h"
#include "oxmverifycommon.h"
#include "ocstack.h"
#include "ocpayload.h"
#include "psinterface.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "doxmresource.h"
#include "oic_malloc.h"
#include "oic_string.h"
#include "ocprovisioningmanager.h"
#include "oxmjustworks.h"
#include "oxmrandompin.h"
-#include "securevirtualresourcetypes.h"
#include "srmutility.h"
#include "pmtypes.h"
#include "oxmverifycommon.h"
#include "ocprovisioningmanager.h"
#include "oxmjustworks.h"
#include "oxmrandompin.h"
-#include "securevirtualresourcetypes.h"
#include "srmutility.h"
#include "pmtypes.h"
#include "pmutility.h"
#include "ocrandom.h"
#include "srmutility.h"
#include "stdbool.h"
-#include "securevirtualresourcetypes.h"
#define TAG "OIC_SRPAPI_CG"
#include "credresource.h"
#include "aclresource.h"
#include "ownershiptransfermanager.h"
-#include "securevirtualresourcetypes.h"
#include "oxmjustworks.h"
#include "pmtypes.h"
#include "pmutility.h"
#include "aclresource.h"
#include "ownershiptransfermanager.h"
#include "secureresourceprovider.h"
-#include "securevirtualresourcetypes.h"
#include "oxmjustworks.h"
#include "oxmrandompin.h"
#include "oxmmanufacturercert.h"
#include <memory.h>
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "doxmresource.h"
#include "cacommon.h"
#include "cainterface.h"
#include <memory.h>
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "doxmresource.h"
#include "credresource.h"
#include "cacommon.h"
#include <memory.h>
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "doxmresource.h"
#include "credresource.h"
#include "cacommon.h"
#include <memory.h>
#include "ocstack.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "doxmresource.h"
#include "credresource.h"
#include "cacommon.h"
#include "utlist.h"
#include "ocpayload.h"
-#include "securevirtualresourcetypes.h"
#include "srmresourcestrings.h" //@note: SRM's internal header
#include "doxmresource.h" //@note: SRM's internal header
#include "pstatresource.h" //@note: SRM's internal header
#include "oxmjustworks.h"
#include "oxmrandompin.h"
#include "oxmmanufacturercert.h"
-#include "securevirtualresourcetypes.h"
#include "provisioningdatabasemanager.h"
#ifdef MULTIPLE_OWNER
#include "multipleownershiptransfermanager.h"
#include "srmutility.h"
#include "octypes.h"
#include "logger.h"
-#include "securevirtualresourcetypes.h"
#include "srmresourcestrings.h"
#include "aclresource.h"
#include "amaclresource.h"
#include "dpairingresource.h"
#include "psinterface.h"
#include "srmresourcestrings.h"
-#include "securevirtualresourcetypes.h"
#include "credresource.h"
#include "srmutility.h"
#include "pinoxmcommon.h"
#include "pinoxmcommon.h"
#include "pbkdf2.h"
#include "base64.h"
-#include "securevirtualresourcetypes.h"
#include "srmresourcestrings.h"
#include "doxmresource.h"
#include "credresource.h"
#include "ocstack.h"
#include "logger.h"
#include "base64.h"
-#include "securevirtualresourcetypes.h"
#include "srmresourcestrings.h"
#include "cainterface.h"
#include "oxmverifycommon.h"
#include "ocrandom.h"
#include "policyengine.h"
#include "resourcemanager.h"
-#include "securevirtualresourcetypes.h"
#include "srmresourcestrings.h"
#include "logger.h"
#include "aclresource.h"
#include <string.h>
#include "resourcemanager.h"
-#include "securevirtualresourcetypes.h"
#include "aclresource.h"
#include "pstatresource.h"
#include "doxmresource.h"
#include "srmutility.h"
#include "oic_string.h"
#include "oic_malloc.h"
-#include "securevirtualresourcetypes.h"
#include "secureresourcemanager.h"
#include "srmresourcestrings.h"
#include "ocresourcehandler.h"
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include <stdlib.h>
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "octypes.h"
const char * SVR_DB_FILE_NAME = OC_SECURITY_DB_FILE_NAME;
#include "oic_string.h"
#include "cainterface.h"
#include "secureresourcemanager.h"
-#include "securevirtualresourcetypes.h"
#include "srmresourcestrings.h"
#include "aclresource.h"
#include "pstatresource.h"
#include "payload_logging.h"
#include "psinterface.h"
#include "secureresourcemanager.h"
-#include "securevirtualresourcetypes.h"
#include "srmresourcestrings.h"
#include "srmutility.h"
#include "amaclresource.h"
#include "oic_string.h"
#include "resourcemanager.h"
#include "credresource.h"
-#include "securevirtualresourcetypes.h"
#include "srmtestcommon.h"
#include "srmutility.h"
#include "psinterface.h"
#include "oic_string.h"
#include "resourcemanager.h"
#include "crlresource.h"
-#include "securevirtualresourcetypes.h"
#include "srmtestcommon.h"
#include "srmutility.h"
#include "psinterface.h"
#include "oic_string.h"
#include "oic_malloc.h"
#include "resourcemanager.h"
-#include "securevirtualresourcetypes.h"
#include "srmresourcestrings.h"
#include "doxmresource.h"
#include "security_internals.h"
#include "ocstack.h"
#include "cainterface.h"
#include "srmresourcestrings.h"
-#include "securevirtualresourcetypes.h"
using namespace std;
#include "cacommon.h"
#include "cainterface.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#ifdef __cplusplus
extern "C" {
#include "platform_features.h"
#if defined(__WITH_TLS__) || defined(__WITH_DTLS__)
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#endif
#ifdef __cplusplus
cp -f %{BUILD_DIR}/libmbedx509.a %{buildroot}/%{_libdir}
%endif
+install -d %{DEST_INC_DIR}/experimental
cp -rf resource/csdk/stack/include/ocstack.h* %{DEST_INC_DIR}/
-cp -rf resource/csdk/security/include/securevirtualresourcetypes.h* %{DEST_INC_DIR}/
-cp -rf resource/c_common/byte_array.h* %{DEST_INC_DIR}/
+cp resource/csdk/security/include/experimental/*.h* %{DEST_INC_DIR}/experimental/
cp -rf resource/csdk/stack/include/ocstackconfig.h* %{DEST_INC_DIR}/
cp -rf resource/csdk/include/octypes.h* %{DEST_INC_DIR}/
cp -rf resource/csdk/logger/include/logger.h* %{DEST_INC_DIR}/
cp resource/c_common/platform_features.h %{DEST_INC_DIR}
cp resource/c_common/iotivity_config.h %{DEST_INC_DIR}
cp resource/c_common/*/include/*.h %{DEST_INC_DIR}
+cp resource/c_common/experimental/*.h* %{DEST_INC_DIR}/experimental/
cp resource/csdk/stack/include/payload_logging.h %{DEST_INC_DIR}
cp extlibs/tinycbor/tinycbor/src/cbor.h %{DEST_INC_DIR}
cp -f com.oic.ri.pc %{DEST_LIB_DIR}/pkgconfig/
#include "OCApi.h"
#include "OCPlatform_impl.h"
#include "oxmverifycommon.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
namespace OC
{
#include "ocstack.h"
#include "ocpayload.h"
//#include "psinterface.h"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "doxmresource.h"
#include "oic_malloc.h"
#include "oic_string.h"
#include "ocstack.h"
#include "octypes.h"
#ifdef __WITH_DTLS__
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "OCProvisioningManager.hpp"
#include "ocrandom.h"
#endif
#include "OCPlatform.h"
#include "OCApi.h"
#include "OCProvisioningManager.hpp"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "EasySetup.hpp"
#include "ESRichCommon.h"
#include "OCPlatform.h"
#include "OCApi.h"
#include "OCProvisioningManager.hpp"
-#include "securevirtualresourcetypes.h"
+#include "experimental/securevirtualresourcetypes.h"
#include "EasySetup.hpp"
#include "ESRichCommon.h"
cp ./resource/csdk/security/include/*.h %{buildroot}%{_includedir}
+cp ./resource/csdk/security/include/*/*.h %{buildroot}%{_includedir}
cp ./resource/csdk/connectivity/api/*.h %{buildroot}%{_includedir}/
cp ./resource/csdk/security/provisioning/include/oxm/*.h %{buildroot}%{_includedir}
cp ./resource/csdk/security/provisioning/include/internal/*.h %{buildroot}%{_includedir}