Spec compliance change to move oc/core/d to oic/p.
[platform/upstream/iotivity.git] / resource / csdk / stack / include / ocstack.h
index 6fbe555..8d0a80d 100644 (file)
@@ -178,6 +178,20 @@ OCStackResult OCSetDefaultDeviceEntityHandler(OCDeviceEntityHandler entityHandle
 OCStackResult OCSetDeviceInfo(OCDeviceInfo deviceInfo);
 
 /**
+ * Set platform information.
+ *
+ * @param platformInfo - Structure passed by the server application containing
+ *                     the platform information.
+ *
+ *
+ * @return
+ *     OC_STACK_OK              - no errors
+ *     OC_STACK_INVALID_PARAM   - invalid paramerter
+ *     OC_STACK_ERROR           - stack process error
+ */
+OCStackResult OCSetPlatformInfo(OCPlatformInfo platformInfo);
+
+/**
  * Create a resource.
  *
  * @param handle Pointer to handle to newly created resource.  Set by ocstack and