diff options
author | sung.goo.kim <sung.goo.kim@samsung.com> | 2016-06-01 19:52:17 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2016-06-01 19:52:17 -0700 |
commit | be2e4f383222b58ce9c7013eda3e5b54486a953e (patch) | |
tree | 93bd82d6cca4be18ee09d51b13f68240e64f0582 /doc | |
parent | e6e96006e98ba5c680f0da9a6af7b1663724ba6b (diff) | |
parent | 13683a17c627c2692bb5981d3deb26f460a40f71 (diff) | |
download | iotcon-be2e4f383222b58ce9c7013eda3e5b54486a953e.tar.gz iotcon-be2e4f383222b58ce9c7013eda3e5b54486a953e.tar.bz2 iotcon-be2e4f383222b58ce9c7013eda3e5b54486a953e.zip |
Merge "Modify name from resource_properties to resource_policies" into tizen
Diffstat (limited to 'doc')
-rw-r--r-- | doc/iotcon_doc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/iotcon_doc.h b/doc/iotcon_doc.h index 52253bc..11d6032 100644 --- a/doc/iotcon_doc.h +++ b/doc/iotcon_doc.h @@ -125,7 +125,7 @@ static void _request_handler(iotcon_resource_h resource, iotcon_request_h reques ... { int ret; - int properties = (IOTCON_RESOURCE_DISCOVERABLE | IOTCON_RESOURCE_OBSERVABLE); + uint8_t policies = (IOTCON_RESOURCE_DISCOVERABLE | IOTCON_RESOURCE_OBSERVABLE); const char *uri_path = "/door/1"; const char *type = "org.tizen.door"; iotcon_resource_types_h resource_types; @@ -155,7 +155,7 @@ static void _request_handler(iotcon_resource_h resource, iotcon_request_h reques } ret = iotcon_resource_create(uri_path, resource_types, - resource_ifaces, properties, _request_handler, NULL, &resource); + resource_ifaces, policies, _request_handler, NULL, &resource); if (IOTCON_ERROR_NONE != ret) { iotcon_resource_interfaces_destroy(resource_ifaces); iotcon_resource_types_destroy(resource_types); @@ -311,7 +311,7 @@ static void _request_handler(iotcon_request_h request, void *user_data) ... { int ret; - int properties = (IOTCON_RESOURCE_DISCOVERABLE | IOTCON_RESOURCE_OBSERVABLE); + uint8_t policies = (IOTCON_RESOURCE_DISCOVERABLE | IOTCON_RESOURCE_OBSERVABLE); const char *uri_path = "/door/1"; const char *type = "org.tizen.door"; iotcon_resource_types_h resource_types; @@ -340,7 +340,7 @@ static void _request_handler(iotcon_request_h request, void *user_data) } ret = iotcon_resource_create(uri_path, resource_types, - resource_ifaces, properties, _request_handler, NULL, &_door_handle); + resource_ifaces, policies, _request_handler, NULL, &_door_handle); if (IOTCON_ERROR_NONE != ret) { iotcon_resource_interfaces_destroy(resource_ifaces); iotcon_resource_types_destroy(resource_types); |