fix coding rule error 44/150544/1
authorYoungjae Shin <yj99.shin@samsung.com>
Mon, 18 Sep 2017 02:05:22 +0000 (11:05 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Mon, 18 Sep 2017 02:05:22 +0000 (11:05 +0900)
Change-Id: I4f88b5cb5b47bd06f49d92845c7ff8a46f3cd5cb

include/iotcon-remote-resource.h
include/iotcon-resource.h
include/iotcon.h
src/ic-provisioning.h

index 2b33cac..a102f20 100644 (file)
@@ -370,7 +370,7 @@ int iotcon_remote_resource_delete(iotcon_remote_resource_h resource, iotcon_remo
  * @see iotcon_remote_resource_start_caching()
  * @see iotcon_remote_resource_stop_caching()
  */
-typedef void (*iotcon_remote_resource_cached_representation_changed_cb)( iotcon_remote_resource_h resource, iotcon_representation_h representation, void *user_data);
+typedef void (*iotcon_remote_resource_cached_representation_changed_cb)(iotcon_remote_resource_h resource, iotcon_representation_h representation, void *user_data);
 
 
 /**
index 6ab2fc6..384bcf1 100644 (file)
@@ -175,7 +175,7 @@ static void _create_resource()
  * @{
  */
 
+
 /**
  * @brief Specifies the type of function passed to iotcon_resource_create() and iotcon_resource_set_request_handler().
  * @details Called when server receives request from the client.
@@ -230,7 +230,7 @@ typedef void (*iotcon_request_handler_cb)(iotcon_resource_h resource, iotcon_req
  * @see iotcon_resource_unbind_child_resource()
  * @see iotcon_request_handler_cb()
  */
-int iotcon_resource_create(const char *uri_path, iotcon_resource_types_h res_types, iotcon_resource_interfaces_h ifaces, uint8_t policies, iotcon_request_handler_cb cb, void *user_data, iotcon_resource_h *resource_handle);         
+int iotcon_resource_create(const char *uri_path, iotcon_resource_types_h res_types, iotcon_resource_interfaces_h ifaces, uint8_t policies, iotcon_request_handler_cb cb, void *user_data, iotcon_resource_h *resource_handle);
 
 
 /**
index a591005..7e027fa 100644 (file)
@@ -47,7 +47,7 @@ extern "C" {
  * @{
  */
 
+
 /**
  * @brief Initializes IoTCon.
  * @details Calls this function to start IoTCon.
index 265f65b..1620f40 100644 (file)
@@ -1,53 +1,53 @@
-/*\r
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- */\r
-#ifndef __IOTCON_INTERNAL_PROVISIONING_H__\r
-#define __IOTCON_INTERNAL_PROVISIONING_H__\r
-\r
-#include <iotcon-provisioning.h>\r
-\r
-int icl_provisioning_initialize(const char *file_path, const char *db_path);\r
-int icl_provisioning_set_randompin_cb(iotcon_provisioning_randompin_cb cb,\r
-               void *user_data);\r
-int icl_provisioning_register_unowned_device(\r
-               iotcon_provisioning_device_h device,\r
-               iotcon_provisioning_ownership_transfer_cb cb,\r
-               void *user_data);\r
-int icl_provisioning_provision_cred(iotcon_provisioning_device_h device1,\r
-               iotcon_provisioning_device_h device2,\r
-               iotcon_provisioning_provision_cred_cb cb,\r
-               void *user_data);\r
-int icl_provisioning_provision_acl(iotcon_provisioning_device_h device,\r
-               iotcon_provisioning_acl_h acl,\r
-               iotcon_provisioning_provision_acl_cb cb,\r
-               void *user_data);\r
-int icl_provisioning_pairwise_devices(iotcon_provisioning_device_h device1,\r
-               iotcon_provisioning_acl_h acl1,\r
-               iotcon_provisioning_device_h device2,\r
-               iotcon_provisioning_acl_h acl2,\r
-               iotcon_provisioning_pairwise_devices_cb cb,\r
-               void *user_data);\r
-int icl_provisioning_unlink_pairwise(iotcon_provisioning_device_h device1,\r
-               iotcon_provisioning_device_h device2,\r
-               iotcon_provisioning_unlink_pairwise_cb cb,\r
-               void *user_data);\r
-\r
-int icl_provisioning_find_device(iotcon_provisioning_find_e type,\r
-               iotcon_provisioning_found_device_cb cb, void *user_data);\r
-\r
-int icl_provisioning_remove_device(const char *device_id,\r
-               iotcon_provisioning_remove_device_cb cb, void *user_data);\r
-\r
-#endif /* __IOTCON_INTERNAL_PROVISIONING_H__ */\r
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#ifndef __IOTCON_INTERNAL_PROVISIONING_H__
+#define __IOTCON_INTERNAL_PROVISIONING_H__
+
+#include <iotcon-provisioning.h>
+
+int icl_provisioning_initialize(const char *file_path, const char *db_path);
+int icl_provisioning_set_randompin_cb(iotcon_provisioning_randompin_cb cb,
+               void *user_data);
+int icl_provisioning_register_unowned_device(
+               iotcon_provisioning_device_h device,
+               iotcon_provisioning_ownership_transfer_cb cb,
+               void *user_data);
+int icl_provisioning_provision_cred(iotcon_provisioning_device_h device1,
+               iotcon_provisioning_device_h device2,
+               iotcon_provisioning_provision_cred_cb cb,
+               void *user_data);
+int icl_provisioning_provision_acl(iotcon_provisioning_device_h device,
+               iotcon_provisioning_acl_h acl,
+               iotcon_provisioning_provision_acl_cb cb,
+               void *user_data);
+int icl_provisioning_pairwise_devices(iotcon_provisioning_device_h device1,
+               iotcon_provisioning_acl_h acl1,
+               iotcon_provisioning_device_h device2,
+               iotcon_provisioning_acl_h acl2,
+               iotcon_provisioning_pairwise_devices_cb cb,
+               void *user_data);
+int icl_provisioning_unlink_pairwise(iotcon_provisioning_device_h device1,
+               iotcon_provisioning_device_h device2,
+               iotcon_provisioning_unlink_pairwise_cb cb,
+               void *user_data);
+
+int icl_provisioning_find_device(iotcon_provisioning_find_e type,
+               iotcon_provisioning_found_device_cb cb, void *user_data);
+
+int icl_provisioning_remove_device(const char *device_id,
+               iotcon_provisioning_remove_device_cb cb, void *user_data);
+
+#endif /* __IOTCON_INTERNAL_PROVISIONING_H__ */