Update snapshot(2018-01-17)
[platform/upstream/iotivity.git] / resource / include / OCProvisioningManager.hpp
index 8db912b..080db13 100644 (file)
@@ -481,6 +481,7 @@ namespace OC
         private:
             std::weak_ptr<std::recursive_mutex> m_csdkLock;
             OCProvisionDev_t *devPtr;   // pointer to device.
+            ProvisionContext* context;
 
         public:
             OCSecureResource();
@@ -512,6 +513,7 @@ namespace OC
              * @return ::OC_STACK_OK in case of success and other value otherwise.
              */
             OCStackResult doOwnershipTransfer(ResultCallBack resultCallback);
+            OCStackResult doOwnershipTransfer(ResultCallBack resultCallback, const OicSecOxm_t method);
 
             /**
              * API to send ACL information to resource.