Modify enum name (iotcon_resource_property_e -> iotcon_resource_policy_e) 39/69539/3
authorsung.goo.kim <sung.goo.kim@samsung.com>
Sun, 15 May 2016 23:04:36 +0000 (08:04 +0900)
committerSunggoo Kim <sung.goo.kim@samsung.com>
Mon, 16 May 2016 06:20:38 +0000 (23:20 -0700)
Change-Id: I25b09f02987f180b4f75f33d3fa13b99e4b6558c

lib/include/iotcon-constant.h
lib/include/iotcon-lite-resource.h
lib/include/iotcon-remote-resource.h
lib/include/iotcon-resource.h

index ecd6769a3edd1ba5111ad0cf3be0b2197942d8dd..6190bb3ee8733be928db1e8b776d1852c64824ba 100644 (file)
@@ -121,7 +121,7 @@ typedef enum {
 } iotcon_connectivity_type_e;
 
 /**
- * @brief Enumeration for property which can be held in a resource.
+ * @brief Enumeration for policy which can be held in a resource.
  *
  * @since_tizen 3.0
  */
@@ -133,7 +133,7 @@ typedef enum {
        IOTCON_RESOURCE_SLOW = (1 << 3), /**< Indicates resource which takes some delay to respond */
        IOTCON_RESOURCE_SECURE = (1 << 4), /**< Indicates secure resource */
        IOTCON_RESOURCE_EXPLICIT_DISCOVERABLE = (1 << 5), /**< When this bit is set, the resource is allowed to be discovered only if discovery request contains an explicit querystring. */
-} iotcon_resource_property_e;
+} iotcon_resource_policy_e;
 
 /**
  * @brief Enumeration for type of request.
index 54f649d91fbcf90e4c76f807c7459fd3489e59db..12540b20a83fb9cf3f59aa3cbfed10ea2c7821b8 100644 (file)
@@ -184,7 +184,7 @@ typedef bool (*iotcon_lite_resource_post_request_cb)(iotcon_lite_resource_h reso
  *
  * @param[in] uri_path The URI path of the resource
  * @param[in] res_types The list of type of the resource
- * @param[in] properties The property of the resource\n Set of #iotcon_resource_property_e
+ * @param[in] properties The property of the resource\n Set of #iotcon_resource_policy_e
  * @param[in] state The state handle to set
  * @param[in] cb The callback function to add into callback list
  * @param[in] user_data The user data to pass to the callback function
index 6d6c767fb8eba86cf86b2f6361196a45e5a02cb9..2aa330f3e2bd474b4c40be51c6a2a463c92cf430 100644 (file)
@@ -123,7 +123,7 @@ static void _find_light_resource()
  * @param[in] host_address The host address of the resource
  * @param[in] connectivity_type The connectivity type
  * @param[in] uri_path The URI path of the resource
- * @param[in] properties The properties of the resource\n Set of #iotcon_resource_property_e
+ * @param[in] properties The properties of the resource\n Set of #iotcon_resource_policy_e
  * @param[in] resource_types The resource types of the resource. For example, "core.light"
  * @param[in] resource_ifaces The resource interfaces of the resource.
  * @param[out] remote_resource Generated resource handle
@@ -724,7 +724,7 @@ int iotcon_remote_resource_get_interfaces(iotcon_remote_resource_h resource,
  * @since_tizen 3.0
  *
  * @param[in] resource The handle of the resource
- * @param[out] properties The Properties of the resource\n Set of #iotcon_resource_property_e
+ * @param[out] properties The Properties of the resource\n Set of #iotcon_resource_policy_e
  *
  * @return 0 on success, otherwise a negative error value.
  * @retval #IOTCON_ERROR_NONE  Successful
index ee9cbe1ded582b8b7be549a2ba8e3bdd2e657bc5..08b161a4af96280b5ee6df82077709c311696ebb 100644 (file)
@@ -225,7 +225,7 @@ typedef void (*iotcon_request_handler_cb)(iotcon_resource_h resource,
  * @param[in] uri_path The URI path of the resource
  * @param[in] res_types The list of type of the resource
  * @param[in] ifaces The list of interface of the resource
- * @param[in] properties The properties of the resource\n Set of #iotcon_resource_property_e
+ * @param[in] properties The properties of the resource\n Set of #iotcon_resource_policy_e
  * @param[in] cb The request handler callback function
  * @param[in] user_data The user data to pass to the callback function
  * @param[out] resource_handle The handle of the resource
@@ -596,7 +596,7 @@ int iotcon_resource_get_interfaces(iotcon_resource_h resource,
  * @since_tizen 3.0
  *
  * @param[in] resource The handle of the resource
- * @param[out] properties The properties of resource\n Set of #iotcon_resource_property_e
+ * @param[out] properties The properties of resource\n Set of #iotcon_resource_policy_e
  *
  * @return 0 on success, otherwise a negative error value.
  * @retval #IOTCON_ERROR_NONE  Successful