cleanup code 28/68128/3
authorYoungjae Shin <yj99.shin@samsung.com>
Mon, 2 May 2016 11:05:15 +0000 (20:05 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Mon, 2 May 2016 11:13:18 +0000 (20:13 +0900)
 - change header file defines
 - change copyright year

Change-Id: Ic4375383da6711341adec831bc4fa154495473c8

79 files changed:
common/ic-common.h
common/ic-ioty-types.c
common/ic-ioty-types.h
common/ic-log.h
common/ic-utils.c
common/ic-utils.h
doc/iotcon_doc.h
lib/icl-device.c
lib/icl-device.h
lib/icl-ioty-ocprocess.c
lib/icl-ioty-ocprocess.h
lib/icl-ioty-types.c
lib/icl-ioty-types.h
lib/icl-ioty.c
lib/icl-ioty.h
lib/icl-list.c
lib/icl-list.h
lib/icl-lite-resource.c
lib/icl-lite-resource.h
lib/icl-observation.c
lib/icl-observation.h
lib/icl-options.c
lib/icl-options.h
lib/icl-presence.c
lib/icl-presence.h
lib/icl-query.c
lib/icl-query.h
lib/icl-remote-resource-caching.c
lib/icl-remote-resource-crud.c
lib/icl-remote-resource-monitoring.c
lib/icl-remote-resource.c
lib/icl-remote-resource.h
lib/icl-representation.c
lib/icl-representation.h
lib/icl-request.c
lib/icl-request.h
lib/icl-resource-interfaces.c
lib/icl-resource-interfaces.h
lib/icl-resource-types.c
lib/icl-resource-types.h
lib/icl-resource.c
lib/icl-resource.h
lib/icl-response.c
lib/icl-response.h
lib/icl-state.c
lib/icl-state.h
lib/icl-types.c
lib/icl-types.h
lib/icl-value.c
lib/icl-value.h
lib/icl.c
lib/icl.h
lib/include/iotcon-client.h
lib/include/iotcon-constant.h
lib/include/iotcon-errors.h
lib/include/iotcon-list.h
lib/include/iotcon-lite-resource.h
lib/include/iotcon-observers.h
lib/include/iotcon-options.h
lib/include/iotcon-query.h
lib/include/iotcon-remote-resource.h
lib/include/iotcon-representation.h
lib/include/iotcon-request.h
lib/include/iotcon-resource-interfaces.h
lib/include/iotcon-resource-types.h
lib/include/iotcon-resource.h
lib/include/iotcon-response.h
lib/include/iotcon-server.h
lib/include/iotcon-state.h
lib/include/iotcon-types.h
lib/include/iotcon.h
test/iotcon-test-basic-client.c
test/iotcon-test-basic-server.c
test/iotcon-test-device-client.c
test/iotcon-test-encap-client.c
test/iotcon-test-encap-server.c
test/iotcon-test-iface-client.c
test/iotcon-test-iface-server.c
test/test.h

index c8027f54d381bde91336bd1ebe7b221c43cd4ab3..9f514ab51f4a250092a3de2bf5f5c8d27b611403 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_INTERNAL_COMMON_H__
-#define __IOT_CONNECTIVITY_MANAGER_INTERNAL_COMMON_H__
+#ifndef __IOT_CONNECTIVITY_INTERNAL_COMMON_H__
+#define __IOT_CONNECTIVITY_INTERNAL_COMMON_H__
 
 #include <stdint.h>
 #include "iotcon-errors.h"
@@ -34,4 +34,4 @@
 #define IC_IOTY_COAPS "coaps://"
 #define IC_IOTY_MULTICAST_ADDRESS "224.0.1.187:5683"
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_INTERNAL_COMMON_H__ */
+#endif /* __IOT_CONNECTIVITY_INTERNAL_COMMON_H__ */
index 7337ac48443a7870503a8fe4452b67cf93b16505..60bec4b99b790ae50e2df182e388e1d0c24faaf8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 9ef832f87edcab745294b82d59dc83e00e8f5be1..6ed120a5526cd81ca439a812e5e14eb84d56b582 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __IOT_CONNECTIVITY_MANAGER_COMMON_IOTIVITY_TYPES_H__
-#define __IOT_CONNECTIVITY_MANAGER_COMMON_IOTIVITY_TYPES_H__
+#ifndef __IOT_CONNECTIVITY_COMMON_IOTIVITY_TYPES_H__
+#define __IOT_CONNECTIVITY_COMMON_IOTIVITY_TYPES_H__
 
 #include <octypes.h>
 
@@ -41,4 +41,4 @@ int ic_ioty_convert_connectivity(const char *host_address, int conn_type,
                OCDevAddr *dev_addr);
 int ic_ioty_convert_properties(int properties);
 
-#endif /*__IOT_CONNECTIVITY_MANAGER_COMMON_IOTIVITY_TYPES_H__*/
+#endif /*__IOT_CONNECTIVITY_COMMON_IOTIVITY_TYPES_H__*/
index d2c8d063114692d03bff32ef87c3136ef2d44141..ec6e9a6b6bbbf2b0bd5c150274d1823a1a47d3b2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_INTERNAL_LOG_H__
-#define __IOT_CONNECTIVITY_MANAGER_INTERNAL_LOG_H__
+#ifndef __IOT_CONNECTIVITY_INTERNAL_LOG_H__
+#define __IOT_CONNECTIVITY_INTERNAL_LOG_H__
 
 #define IC_LOG_RED "\033[0;31m"
 #define IC_LOG_GREEN "\033[0;32m"
                } \
        } while (0)
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_INTERNAL_LOG_H__ */
+#endif /* __IOT_CONNECTIVITY_INTERNAL_LOG_H__ */
index 2008bd55a7fa654daca5d5611c18f01c788f9a6d..2969a8309b2bd02e2b13e2b96ed20676c767febf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index b568c6637aecfb46cd818830c82fba9acbdfbb99..f376d8318e3e0b63a5f8b7dbe7170ba7dcf43b69 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_INTERNAL_COMMON_UTILITY_H__
-#define __IOT_CONNECTIVITY_MANAGER_INTERNAL_COMMON_UTILITY_H__
+#ifndef __IOT_CONNECTIVITY_INTERNAL_COMMON_UTILITY_H__
+#define __IOT_CONNECTIVITY_INTERNAL_COMMON_UTILITY_H__
 
 #include <octypes.h>
 #include "iotcon-types.h"
@@ -27,4 +27,4 @@ int ic_utils_get_platform_info(OCPlatformInfo *platform_info);
 void ic_utils_free_platform_info(OCPlatformInfo *platform_info);
 bool ic_utils_check_permission();
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_INTERNAL_COMMON_UTILITY_H__ */
+#endif /* __IOT_CONNECTIVITY_INTERNAL_COMMON_UTILITY_H__ */
index cb923768d7a6af382cc0b79a383c2c182848da9e..39ea4ba8be35d3c5df00853d48fbc0895e47c73e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index bd28e9b98f708199e85e350344443b456c417c47..39b94a3b9722bba24918b21e25b24d6e00659e4e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 203c6fc09de23dfdedceebbc8470875d542c5e2e..ad625a1b42f6e6012edd806f428eb9b977329842 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_DEVICE_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_DEVICE_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_DEVICE_H__
+#define __IOT_CONNECTIVITY_LIBRARY_DEVICE_H__
 
 #include "iotcon-types.h"
 
@@ -39,4 +39,4 @@ struct icl_platform_info {
        char *system_time;
 };
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_DEVICE_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_DEVICE_H__ */
index 8c1e3f5aeb174bc5714583000d5f1c7a148134fb..e1e50d7411275941170d47af1126acc498260221 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -332,7 +332,7 @@ OCStackApplicationResult icl_ioty_ocprocess_observe_cb(void *ctx,
        RETV_IF(NULL == resp, OC_STACK_KEEP_TRANSACTION);
 
        cb_result = (OC_OBSERVE_DEREGISTER == resp->sequenceNumber) ?
-                       OC_STACK_DELETE_TRANSACTION : OC_STACK_KEEP_TRANSACTION;
+               OC_STACK_DELETE_TRANSACTION : OC_STACK_KEEP_TRANSACTION;
 
        if (NULL == resp->payload) {
                ERR("payload is empty(%d)", resp->result);
index e05f8977bdefae9c5709611e0cdce855e6a97b86..714b99beee819933bea545f822e51f20866ccde4 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_IOTIVITY_OCPROCESS_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_IOTIVITY_OCPROCESS_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_IOTIVITY_OCPROCESS_H__
+#define __IOT_CONNECTIVITY_LIBRARY_IOTIVITY_OCPROCESS_H__
 
 #include <glib.h>
 
@@ -49,5 +49,5 @@ OCEntityHandlerResult icl_ioty_ocprocess_request_cb(OCEntityHandlerFlag flag,
 OCEntityHandlerResult icl_ioty_ocprocess_lite_request_cb(OCEntityHandlerFlag flag,
                OCEntityHandlerRequest *request, void *user_data);
 
-#endif /*__IOT_CONNECTIVITY_MANAGER_LIBRARY_IOTIVITY_OCPROCESS_H__*/
+#endif /*__IOT_CONNECTIVITY_LIBRARY_IOTIVITY_OCPROCESS_H__*/
 
index 629c4cde8f6fec67227f8759723b1679d26f14e3..de596dae22c55168e31010d68e8b9e066a335481 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index f58b7077ad3e20eb3703ca1cdcc69984676fbd73..3bfcb796914616374a6b2434985ca65fc8bb12b2 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_IOTIVITY_TYPES_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_IOTIVITY_TYPES_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_IOTIVITY_TYPES_H__
+#define __IOT_CONNECTIVITY_LIBRARY_IOTIVITY_TYPES_H__
 
 #include "iotcon-types.h"
 #include "icl-ioty.h"
@@ -43,4 +43,4 @@ int icl_ioty_convert_representation(iotcon_representation_h repr,
 int icl_ioty_convert_header_options(iotcon_options_h options,
                OCHeaderOption dest[], int dest_size);
 
-#endif /*__IOT_CONNECTIVITY_MANAGER_LIBRARY_IOTIVITY_TYPES_H__*/
+#endif /*__IOT_CONNECTIVITY_LIBRARY_IOTIVITY_TYPES_H__*/
index a1103d6f66b60dec67db9a3455366c9d27398b05..76f0bc9c805784aaa4a90de5296f30ccf16361fb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -115,15 +115,15 @@ static gboolean _icl_ioty_timeout(gpointer user_data)
                switch (cb_info->op) {
                case ICL_FIND_RESOURCE:
                        ((iotcon_found_resource_cb)cb_info->cb)(NULL, IOTCON_ERROR_TIMEOUT,
-                                       cb_info->user_data);
+                               cb_info->user_data);
                        break;
                case ICL_GET_DEVICE_INFO:
                        ((iotcon_device_info_cb)cb_info->cb)(NULL, IOTCON_ERROR_TIMEOUT,
-                                       cb_info->user_data);
+                               cb_info->user_data);
                        break;
                case ICL_GET_PLATFORM_INFO:
                        ((iotcon_platform_info_cb)cb_info->cb)(NULL, IOTCON_ERROR_TIMEOUT,
-                                       cb_info->user_data);
+                               cb_info->user_data);
                        break;
                default:
                        ERR("Invalid operation(%d)", cb_info->op);
@@ -937,7 +937,7 @@ static void _icl_ioty_monitoring_get_cb(iotcon_remote_resource_h resource,
                state = IOTCON_REMOTE_RESOURCE_LOST_SIGNAL;
        } else {
                state = (IOTCON_RESPONSE_OK == response->result) ?
-                               IOTCON_REMOTE_RESOURCE_ALIVE : IOTCON_REMOTE_RESOURCE_LOST_SIGNAL;
+                       IOTCON_REMOTE_RESOURCE_ALIVE : IOTCON_REMOTE_RESOURCE_LOST_SIGNAL;
        }
 
        if (state != cb_container->state) {
@@ -1710,7 +1710,7 @@ int icl_ioty_response_send(iotcon_response_h response_handle)
                                / sizeof(response.sendVendorSpecificHeaderOptions[0]));
 
                response.numSendVendorSpecificHeaderOptions =
-                               g_hash_table_size(response_handle->header_options->hash);
+                       g_hash_table_size(response_handle->header_options->hash);
        }
 
 
index 938886b948202715a3d7debb01cdd7427b9bdd3d..8937b5eb3088bb6339d11e44729828689e403306 100644 (file)
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_IOTIVITY_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_IOTIVITY_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_IOTIVITY_H__
+#define __IOT_CONNECTIVITY_LIBRARY_IOTIVITY_H__
 
 #include <stdint.h>
 #include <glib.h>
@@ -142,5 +142,5 @@ int icl_ioty_lite_resource_notify(iotcon_lite_resource_h resource);
 
 int icl_ioty_response_send(iotcon_response_h response);
 
-#endif /*__IOT_CONNECTIVITY_MANAGER_LIBRARY_IOTIVITY_H__*/
+#endif /*__IOT_CONNECTIVITY_LIBRARY_IOTIVITY_H__*/
 
index 6a92c4ffd6d78dff4d8fee11fde1637aa351723a..6d42f70372524ca2079873c9cf1175c18c9b4228 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 9b7fe6bd127ca46c227c927b74202687dc3e103a..4a1a5e5ee46dd1b38eb4dcace632babe46d9af9e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_LIST_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_LIST_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_LIST_H__
+#define __IOT_CONNECTIVITY_LIBRARY_LIST_H__
 
 #include <glib.h>
 
@@ -32,4 +32,4 @@ int icl_list_insert(iotcon_list_h list, iotcon_value_h value, int pos);
 
 iotcon_list_h icl_list_ref(iotcon_list_h list);
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_LIST_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_LIST_H__ */
index c17e60bf7854c0eda3a1d1766dcf806461a3ea11..2f042e7181a44f2b1d921b79477928b384bff596 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 80348740565599c3b53ef3d80577a2eadeaff72e..ebc02c46077aa0e1cc556149eb1689ffbed19bd9 100644 (file)
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_LITE_RESOURCE_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_LITE_RESOURCE_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_LITE_RESOURCE_H__
+#define __IOT_CONNECTIVITY_LIBRARY_LITE_RESOURCE_H__
 
 #include <stdint.h>
 #include "iotcon-lite-resource.h"
@@ -30,5 +30,5 @@ struct icl_lite_resource {
        iotcon_connectivity_type_e connectivity_type;
 };
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_LITE_RESOURCE_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_LITE_RESOURCE_H__ */
 
index bdc9c56a646b5c27c65c959821ab07c0b1b7de4b..19ef08d3549e2b43f979c90e860c9586218b9bc3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index da808a257ad1bbd39cdf2ba672beef699a3b590f..be77a2373bfa0577b55b0e50db3f1055594c7393 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_OBSERVATION_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_OBSERVATION_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_OBSERVATION_H__
+#define __IOT_CONNECTIVITY_LIBRARY_OBSERVATION_H__
 
 #include <glib.h>
 #include "iotcon-types.h"
@@ -23,4 +23,4 @@ struct icl_observers {
        GList *observers_list;
 };
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_OBSERVATION_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_OBSERVATION_H__ */
index 3f0eb149bf51fe4724e537be92dd24e5ada54ebc..669227ea116e952a80d8e6a2ad95980443c75622 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index f755f874ebf83958c3d6b25eab8ba76f6b604598..d6d97eea04f312be90ccefedb40133bfa5ba804f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_OPTIONS_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_OPTIONS_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_OPTIONS_H__
+#define __IOT_CONNECTIVITY_LIBRARY_OPTIONS_H__
 
 #include <glib.h>
 #include "iotcon-types.h"
@@ -26,4 +26,4 @@ struct icl_options {
 
 iotcon_options_h icl_options_ref(iotcon_options_h options);
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_OPTIONS_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_OPTIONS_H__ */
index 816c26539f41e2d67b8e4dd447e4b9901413b34d..27125559dceb4778079af4f05d53ef449329c70b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 79f028239745fae8d27169b7b22453bae29086b1..56e8ef30630f96233e055ab3854126317ed2e7fe 100644 (file)
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_PRESENCE_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_PRESENCE_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_PRESENCE_H__
+#define __IOT_CONNECTIVITY_LIBRARY_PRESENCE_H__
 
 #include <octypes.h>
 
@@ -35,4 +35,4 @@ typedef struct icl_presence_response {
        iotcon_presence_trigger_e trigger;
 } icl_presence_response_s;
 
-#endif /*__IOT_CONNECTIVITY_MANAGER_LIBRARY_PRESENCE_H__*/
+#endif /*__IOT_CONNECTIVITY_LIBRARY_PRESENCE_H__*/
index 794ee044c205dda7a9ba2f30e669df3a5b8314c6..1c11c36eae929d0e04260f26e00f5637f1b43161 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index da43699050233b0005a65a91f3389cfb4a794913..3eba7ada8c716512624fa8be9b5754f8e2573d3e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_QUERY_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_QUERY_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_QUERY_H__
+#define __IOT_CONNECTIVITY_LIBRARY_QUERY_H__
 
 #include <glib.h>
 #include "iotcon-types.h"
@@ -34,4 +34,4 @@ struct icl_query {
        GHashTable *hash;
 };
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_QUERY_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_QUERY_H__ */
index eaae19914e3e2d94759b3763734d53fca17fa81e..a58c98edef7b973124677dfaafeb26dbaa108239 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 042d08633c0673923cd6eedd2bd31e1ac421983b..52475344a16c952ba8041a3a2731e7ab5a3cffa5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index c1976a65c64154c4208f3479a9fe1de59d5d131e..acf48ed4d0462c27ab49a50122f98167e0242757 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 6ab20dae792acc21e2ecf5537b9991b9930b7ad9..0e5a99a04f0e247565bdde528dcdb68304ff8684 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index aaaea5cf15418f78264329ba0a683a0c8ec3e08a..1c6480b9fcc8606312ebdf690e879c190dcb4112 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_CLIENT_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_CLIENT_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_CLIENT_H__
+#define __IOT_CONNECTIVITY_LIBRARY_CLIENT_H__
 
 #include <stdint.h>
 #include <gio/gio.h>
@@ -41,4 +41,4 @@ struct icl_remote_resource {
 void icl_remote_resource_ref(iotcon_remote_resource_h resource);
 void icl_remote_resource_unref(iotcon_remote_resource_h resource);
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_CLIENT_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_CLIENT_H__ */
index be1627ba64ac764e8f67120673a160f177b4199c..2bddd709a6d641a2241e5dcd1f6f6fa8d34f0e2e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 89e431785449c78a13b6cd14d754bdad8fbcabc2..f881e862e30c9980c6df0de727aff07d9be724de 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_REPRESENTATION_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_REPRESENTATION_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_REPRESENTATION_H__
+#define __IOT_CONNECTIVITY_LIBRARY_REPRESENTATION_H__
 
 #include <glib.h>
 
@@ -41,4 +41,4 @@ int icl_representation_compare(iotcon_representation_h repr1,
                iotcon_representation_h repr2);
 
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_REPRESENTATION_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_REPRESENTATION_H__ */
index cb15c08bb55099b3c93e3254fa26407d23454fa7..18099a5deab7a26ac06b4f0f55aeb2b57cbed257 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 997e2630267e9777bbdb2102aaf231146505e1c8..7f970b2be5a54287d41f502f2645f8b6534c06e6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_REQUEST_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_REQUEST_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_REQUEST_H__
+#define __IOT_CONNECTIVITY_LIBRARY_REQUEST_H__
 
 #include <stdint.h>
 #include "iotcon-types.h"
@@ -36,4 +36,4 @@ struct icl_resource_request {
        int64_t oic_resource_h;
 };
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_REQUEST_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_REQUEST_H__ */
index bf5b5aaa06e1b80c4537c2a59bc6842beb68720a..148b3d02c7e988c9b4fa0409c6da506d0bc9482d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 6c54f836341215d04f6e75d7771fad6bff14cfa4..741c850b5d2fe612da4f79b9a1993dd61fa31194 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_INTERFACES_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_INTERFACES_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_RESOURCE_INTERFACES_H__
+#define __IOT_CONNECTIVITY_LIBRARY_RESOURCE_INTERFACES_H__
 
 #include <glib.h>
 #include "iotcon-types.h"
@@ -27,4 +27,4 @@ struct icl_resource_ifaces {
 iotcon_resource_interfaces_h icl_resource_interfaces_ref(
                iotcon_resource_interfaces_h res_ifaces);
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_INTERFACES_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_RESOURCE_INTERFACES_H__ */
index f195eb0b5925716560a998b7c28c6a0a4a357e40..5fa392825fb988487905d0fa65816c7cf56e4dfe 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 586e51d17068f4dd506ea57c6206528f39214a12..72bd1b3d9a1d1c581fc4fdcdb6403f696c20f6b8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_TYPES_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_TYPES_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_RESOURCE_TYPES_H__
+#define __IOT_CONNECTIVITY_LIBRARY_RESOURCE_TYPES_H__
 
 #include <glib.h>
 #include "iotcon-types.h"
@@ -35,4 +35,4 @@ struct icl_resource_types {
 
 iotcon_resource_types_h icl_resource_types_ref(iotcon_resource_types_h res_types);
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_TYPES_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_RESOURCE_TYPES_H__ */
index 3c960869ccb7d3699ad4ae7138786a734c3120e8..023cc32016c5a438f77457afe46e8968211789cd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 9f99edfcaafdbca5fcaf33c7fad42132a705a752..464f02061a2b20caa4100e54f6d97c534d330806 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_RESOURCE_H__
+#define __IOT_CONNECTIVITY_LIBRARY_RESOURCE_H__
 
 #include <stdint.h>
 #include <glib.h>
@@ -50,4 +50,4 @@ bool icl_resource_check_uri_path(const char *uri_path);
 bool icl_resource_check_type(const char *type);
 bool icl_resource_check_interface(const char *iface);
 
-#endif /*__IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_H__*/
+#endif /*__IOT_CONNECTIVITY_LIBRARY_RESOURCE_H__*/
index eb5b2eacf42b58caafc95fc57b4bea6a4bfb7f1f..4001aea20a9edfc9eb685cfba4183c719ab42493 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 4460b76d5dfad141fa3a56ffced1de7d1c036cf3..eeb5df13174dcfe84d260e90c67298cc726352b2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESPONSE_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESPONSE_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_RESPONSE_H__
+#define __IOT_CONNECTIVITY_LIBRARY_RESPONSE_H__
 
 #include <stdint.h>
 #include "iotcon-types.h"
@@ -36,4 +36,4 @@ struct icl_resource_response {
        iotcon_connectivity_type_e connectivity_type;
 };
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESPONSE_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_RESPONSE_H__ */
index ede9c25cb1df77724148b18052bc52f109785670..fad91553e1aa2ad8389dff32f8a3b9c9c114e995 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+/* Copyright (c) 2015 - 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.
index 4520cdcdd8a660852c84000248cd82d26335dc5a..17c7033233f912efecc7b88d65430e1c1926630c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_STATE_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_STATE_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_STATE_H__
+#define __IOT_CONNECTIVITY_LIBRARY_STATE_H__
 
 #include "icl-value.h"
 #include "icl-representation.h"
@@ -26,4 +26,4 @@ void icl_state_clone_foreach(char *key, iotcon_value_h src_val,
 
 iotcon_state_h icl_state_ref(iotcon_state_h state);
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_STATE_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_STATE_H__ */
index 6ae939af9afb7e1938126ad8a733d78d31964479..9cd6a510052eb73d9c10d908d49e3ad32c99cd59 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 227a0e0273f1e53f8d842a0327def33455d8e6ac..0ac9203d380a93d765e434767faade7008236fe7 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_TYPES_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_TYPES_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_TYPES_H__
+#define __IOT_CONNECTIVITY_LIBRARY_TYPES_H__
 
 #include <stdint.h>
 #include "iotcon-types.h"
@@ -133,4 +133,4 @@ void icl_destroy_caching_container(void *data);
 
 void icl_destroy_request_container(icl_request_container_s *cb_container);
 
-#endif /*__IOT_CONNECTIVITY_MANAGER_LIBRARY_TYPES_H__*/
+#endif /*__IOT_CONNECTIVITY_LIBRARY_TYPES_H__*/
index 2366ffe6ac157663140620f9168da801cd1cfed1..223b0917510f5b1d661a6b389ef086ef612e5fbe 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index caac05a3532aa2fc7863ed2da069207c7ea71f32..48e8d29f5a42b650423929c19034233369bc3de2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_VALUE_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_VALUE_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_VALUE_H__
+#define __IOT_CONNECTIVITY_LIBRARY_VALUE_H__
 
 #include <glib.h>
 
@@ -92,4 +92,4 @@ void icl_value_destroy(gpointer data);
 
 iotcon_value_h icl_value_clone(iotcon_value_h src);
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_VALUE_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_VALUE_H__ */
index 4373cba6d08f3fccccfd068a93b4a5926672d6ec..01bad5ebdcb9e8f5742a4ed7ae1629e5b9b6b729 100644 (file)
--- a/lib/icl.c
+++ b/lib/icl.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -53,7 +53,7 @@ API int iotcon_initialize()
                }
        }
 
-               return IOTCON_ERROR_NONE;
+       return IOTCON_ERROR_NONE;
 }
 
 API void iotcon_deinitialize(void)
index 540dbc52329352836f50ecb054e8a95ddb252e95..460ccc63dd6063c00c0275cabaf04a232b7d088c 100644 (file)
--- a/lib/icl.h
+++ b/lib/icl.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_H__
-#define __IOT_CONNECTIVITY_MANAGER_LIBRARY_H__
+#ifndef __IOT_CONNECTIVITY_LIBRARY_H__
+#define __IOT_CONNECTIVITY_LIBRARY_H__
 
 #include "iotcon.h"
 #include "ic-common.h"
@@ -25,4 +25,4 @@
 #endif
 #define API __attribute__((visibility("default")))
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_H__ */
index fac264a428f8fe78f30105276e70b3aaf019de9b..ab812db6fa964bd4802bcf2339ace54c2d7ddf0e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_CLIENT_H__
-#define __IOT_CONNECTIVITY_MANAGER_CLIENT_H__
+#ifndef __IOT_CONNECTIVITY_CLIENT_H__
+#define __IOT_CONNECTIVITY_CLIENT_H__
 
 #include <iotcon-types.h>
 #include <iotcon-remote-resource.h>
@@ -545,4 +545,4 @@ int iotcon_platform_info_get_property(iotcon_platform_info_h platform_info,
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_CLIENT_H__ */
+#endif /* __IOT_CONNECTIVITY_CLIENT_H__ */
index bfb294b12f411cde8c7854580a77c5a222d50869..0d745373f7d2fe615686732331512ee6258b2e53 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_CONSTANT_H__
-#define __IOT_CONNECTIVITY_MANAGER_CONSTANT_H__
+#ifndef __IOT_CONNECTIVITY_CONSTANT_H__
+#define __IOT_CONNECTIVITY_CONSTANT_H__
 
 #include <iotcon-types.h>
 
@@ -257,4 +257,4 @@ typedef enum {
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_CONSTANT_H__ */
+#endif /* __IOT_CONNECTIVITY_CONSTANT_H__ */
index cdea625d4da70f06da2911a8f5ca73c311588d69..53fc126a7dfc3eb8abe9926407e79436945863b2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_ERRORS_H__
-#define __IOT_CONNECTIVITY_MANAGER_ERRORS_H__
+#ifndef __IOT_CONNECTIVITY_ERRORS_H__
+#define __IOT_CONNECTIVITY_ERRORS_H__
 
 #include <tizen.h>
 
@@ -53,4 +53,4 @@ typedef enum {
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_ERRORS_H__ */
+#endif /* __IOT_CONNECTIVITY_ERRORS_H__ */
index 7e26c75e7c1ae0551a30083b18daece278c46fec..1836ca3c6d00b8170402e622f87115f6c6a3929b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_STRUCT_LIST_H__
-#define __IOT_CONNECTIVITY_MANAGER_STRUCT_LIST_H__
+#ifndef __IOT_CONNECTIVITY_STRUCT_LIST_H__
+#define __IOT_CONNECTIVITY_STRUCT_LIST_H__
 
 #include <iotcon-types.h>
 
@@ -822,4 +822,4 @@ int iotcon_list_foreach_state(iotcon_list_h list, iotcon_list_state_cb cb, void
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_LIST_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_LIST_H__ */
index 7ff6abd34e732e61fb284cb242fb13cf7b278575..730163dcfc34964649b65e113bbdde93ec269af8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_SERVER_LITE_RESOURCE_H__
-#define __IOT_CONNECTIVITY_MANAGER_SERVER_LITE_RESOURCE_H__
+#ifndef __IOT_CONNECTIVITY_SERVER_LITE_RESOURCE_H__
+#define __IOT_CONNECTIVITY_SERVER_LITE_RESOURCE_H__
 
 #include <iotcon-types.h>
 
@@ -278,4 +278,4 @@ int iotcon_lite_resource_get_state(iotcon_lite_resource_h resource,
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_SERVER_LITE_RESOURCE_H__ */
+#endif /* __IOT_CONNECTIVITY_SERVER_LITE_RESOURCE_H__ */
index 7ed9a426c5b952aacef4761c8943808360af7ba1..d177775f354e225b16066af612030931a903d61a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_SERVER_OBSERVERS_H__
-#define __IOT_CONNECTIVITY_MANAGER_SERVER_OBSERVERS_H__
+#ifndef __IOT_CONNECTIVITY_SERVER_OBSERVERS_H__
+#define __IOT_CONNECTIVITY_SERVER_OBSERVERS_H__
 
 #include <iotcon-types.h>
 
@@ -207,4 +207,4 @@ int iotcon_observers_remove(iotcon_observers_h observers, int obs_id);
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_SERVER_OBSERVERS_H__ */
+#endif /* __IOT_CONNECTIVITY_SERVER_OBSERVERS_H__ */
index 6998a04fd9b26bf0db8f921b9d703fcca5fff05e..e5dea128a921651107077de436b3faa59a72c5f1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_STRUCT_OPTIONS_H__
-#define __IOT_CONNECTIVITY_MANAGER_STRUCT_OPTIONS_H__
+#ifndef __IOT_CONNECTIVITY_STRUCT_OPTIONS_H__
+#define __IOT_CONNECTIVITY_STRUCT_OPTIONS_H__
 
 #include <iotcon-types.h>
 
@@ -272,4 +272,4 @@ int iotcon_options_foreach(iotcon_options_h options, iotcon_options_foreach_cb c
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_OPTIONS_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_OPTIONS_H__ */
index d63b5a2cf8d1a299e1a6aa51089a33acdbf1264c..376a1bc839c7f7bfbf1d3d3e85238d061b489fbb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_STRUCT_QUERY_H__
-#define __IOT_CONNECTIVITY_MANAGER_STRUCT_QUERY_H__
+#ifndef __IOT_CONNECTIVITY_STRUCT_QUERY_H__
+#define __IOT_CONNECTIVITY_STRUCT_QUERY_H__
 
 #include <iotcon-types.h>
 
@@ -357,4 +357,4 @@ int iotcon_query_foreach(iotcon_query_h query, iotcon_query_foreach_cb cb,
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_QUERY_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_QUERY_H__ */
index 98fe875473d8d256069d1c9700b48828e829598e..a500c6517e249c99f0cef518a659871ff4eef6cc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_CLIENT_REMOTE_RESOURCE_H__
-#define __IOT_CONNECTIVITY_MANAGER_CLIENT_REMOTE_RESOURCE_H__
+#ifndef __IOT_CONNECTIVITY_CLIENT_REMOTE_RESOURCE_H__
+#define __IOT_CONNECTIVITY_CLIENT_REMOTE_RESOURCE_H__
 
 #include <iotcon-types.h>
 
@@ -861,4 +861,4 @@ int iotcon_remote_resource_set_time_interval(int time_interval);
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_CLIENT_REMOTE_RESOURCE_H__ */
+#endif /* __IOT_CONNECTIVITY_CLIENT_REMOTE_RESOURCE_H__ */
index a84c12da64c51a9e2cb3d0f14a9d199be17e7b20..17419fd6862250e46dfc521b1af7463a43a781ad 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_STRUCT_REPRESENTATION_H__
-#define __IOT_CONNECTIVITY_MANAGER_STRUCT_REPRESENTATION_H__
+#ifndef __IOT_CONNECTIVITY_STRUCT_REPRESENTATION_H__
+#define __IOT_CONNECTIVITY_STRUCT_REPRESENTATION_H__
 
 #include <iotcon-types.h>
 
@@ -510,4 +510,4 @@ int iotcon_representation_get_nth_child(iotcon_representation_h parent, int pos,
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_REPRESENTATION_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_REPRESENTATION_H__ */
index a637b17ef57daf4f4f1662ae95dcdc8773300732..c8d32b3374083895642a4bc702a32347b45a1079 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_SERVER_REQUEST_H__
-#define __IOT_CONNECTIVITY_MANAGER_SERVER_REQUEST_H__
+#ifndef __IOT_CONNECTIVITY_SERVER_REQUEST_H__
+#define __IOT_CONNECTIVITY_SERVER_REQUEST_H__
 
 #include <iotcon-types.h>
 
@@ -327,4 +327,4 @@ int iotcon_request_get_observe_id(iotcon_request_h request, int *observe_id);
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_SERVER_REQUEST_H__ */
+#endif /* __IOT_CONNECTIVITY_SERVER_REQUEST_H__ */
index 876252063aa57370afbbe3aea3cbf7ce440ed300..dd10fe05ed6d4b8a35383d2d969e3b90b9041126 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_STRUCT_RESOURCE_INTERFACES_H__
-#define __IOT_CONNECTIVITY_MANAGER_STRUCT_RESOURCE_INTERFACES_H__
+#ifndef __IOT_CONNECTIVITY_STRUCT_RESOURCE_INTERFACES_H__
+#define __IOT_CONNECTIVITY_STRUCT_RESOURCE_INTERFACES_H__
 
 #include <iotcon-types.h>
 
@@ -260,4 +260,4 @@ int iotcon_resource_interfaces_clone(iotcon_resource_interfaces_h src,
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_RESOURCE_INTERFACES_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_RESOURCE_INTERFACES_H__ */
index deee69a714e75f63a87a9128c31c3e29de5fbe4d..3a5adb03134e90f75ec3b4873d7c6df63a25a1fa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_STRUCT_RESOURCE_TYPES_H__
-#define __IOT_CONNECTIVITY_MANAGER_STRUCT_RESOURCE_TYPES_H__
+#ifndef __IOT_CONNECTIVITY_STRUCT_RESOURCE_TYPES_H__
+#define __IOT_CONNECTIVITY_STRUCT_RESOURCE_TYPES_H__
 
 #include <iotcon-types.h>
 
@@ -256,4 +256,4 @@ int iotcon_resource_types_clone(iotcon_resource_types_h src,
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_RESOURCE_TYPES_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_RESOURCE_TYPES_H__ */
index 616e3436ee0b687c6dfd083641fb193d25c61748..45bc014f531334afc364c2479125064f417a63d3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_SERVER_RESOURCE_H__
-#define __IOT_CONNECTIVITY_MANAGER_SERVER_RESOURCE_H__
+#ifndef __IOT_CONNECTIVITY_SERVER_RESOURCE_H__
+#define __IOT_CONNECTIVITY_SERVER_RESOURCE_H__
 
 #include <iotcon-types.h>
 
@@ -615,4 +615,4 @@ int iotcon_resource_get_properties(iotcon_resource_h resource, int *properties);
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_SERVER_RESOURCE_H__ */
+#endif /* __IOT_CONNECTIVITY_SERVER_RESOURCE_H__ */
index bc45f35917ee50ee5eb2284d095e8aa09c269028..0bfcb17e5e86744e4f4cb16750cf767cd03fe1d1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_COMMON_RESPONSE_H__
-#define __IOT_CONNECTIVITY_MANAGER_COMMON_RESPONSE_H__
+#ifndef __IOT_CONNECTIVITY_COMMON_RESPONSE_H__
+#define __IOT_CONNECTIVITY_COMMON_RESPONSE_H__
 
 #include <iotcon-types.h>
 
@@ -371,4 +371,4 @@ int iotcon_response_send(iotcon_response_h resp);
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_COMMON_RESPONSE_H__ */
+#endif /* __IOT_CONNECTIVITY_COMMON_RESPONSE_H__ */
index 3a4f338ddde0eb107a42838cff2ca6a4459f8d61..e627ffa23795eb14722dcced647b63d5b0356e83 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_SERVER_H__
-#define __IOT_CONNECTIVITY_MANAGER_SERVER_H__
+#ifndef __IOT_CONNECTIVITY_SERVER_H__
+#define __IOT_CONNECTIVITY_SERVER_H__
 
 #include <iotcon-resource.h>
 #include <iotcon-lite-resource.h>
@@ -45,7 +45,7 @@
  * @{
  */
 
- /**
+/**
  * @brief Starts presence of a server.
  * @details Use this function to send server's announcements to clients.\n
  * Server can call this function when online for the first time or come back from offline to online.
@@ -100,4 +100,4 @@ int iotcon_stop_presence(void);
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_SERVER_H__ */
+#endif /* __IOT_CONNECTIVITY_SERVER_H__ */
index 589155a2b1fdfc9ed4293c7e29bfe82c0f68cdc5..bed71c4b273028dd4eeb78d07fab6b8ccd061414 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_STRUCT_STATE_H__
-#define __IOT_CONNECTIVITY_MANAGER_STRUCT_STATE_H__
+#ifndef __IOT_CONNECTIVITY_STRUCT_STATE_H__
+#define __IOT_CONNECTIVITY_STRUCT_STATE_H__
 
 #include <iotcon-types.h>
 
@@ -586,4 +586,4 @@ int iotcon_state_get_keys_count(iotcon_state_h state, unsigned int *count);
  * @}
  */
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_STATE_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_STATE_H__ */
index f4a363e2bf76e614304437338b833b9ce387f968..5f268abd92ce3f821ac4b31640ff4e1601f71a76 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_TYPES_H__
-#define __IOT_CONNECTIVITY_MANAGER_TYPES_H__
+#ifndef __IOT_CONNECTIVITY_TYPES_H__
+#define __IOT_CONNECTIVITY_TYPES_H__
 
 #include <tizen_type.h>
 
@@ -70,14 +70,14 @@ typedef struct icl_resource* iotcon_resource_h;
 typedef struct icl_lite_resource* iotcon_lite_resource_h;
 
 /**
-* @brief The handle of response.
-* @details @a iotcon_response_h is an opaque data structure to respond to client.
-* @a iotcon_response_h is a data type of server's response which consists of result,
-* header options, query, representation.
-*
-*
-* @since_tizen 3.0
-*/
+ * @brief The handle of response.
+ * @details @a iotcon_response_h is an opaque data structure to respond to client.
+ * @a iotcon_response_h is a data type of server's response which consists of result,
+ * header options, query, representation.
+ *
+ *
+ * @since_tizen 3.0
+ */
 typedef struct icl_resource_response* iotcon_response_h;
 
 /**
@@ -89,13 +89,13 @@ typedef struct icl_resource_response* iotcon_response_h;
 typedef struct icl_observers* iotcon_observers_h;
 
 /**
-* @brief The handle of request.
-* @details @a iotcon_request_h is an opaque data structure to request to a particular resource.
-* @a iotcon_request_h is a data type of client's request which consists of header options,
-* query, representation.
-*
-* @since_tizen 3.0
-*/
+ * @brief The handle of request.
+ * @details @a iotcon_request_h is an opaque data structure to request to a particular resource.
+ * @a iotcon_request_h is a data type of client's request which consists of header options,
+ * query, representation.
+ *
+ * @since_tizen 3.0
+ */
 typedef struct icl_resource_request* iotcon_request_h;
 
 /**
@@ -229,4 +229,4 @@ typedef struct icl_state_s* iotcon_state_h;
 #include <iotcon-resource-types.h>
 #include <iotcon-resource-interfaces.h>
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_TYPES_H__ */
+#endif /* __IOT_CONNECTIVITY_TYPES_H__ */
index 0af6236322b1ac16fd1a16f5bbf0e76db2737672..62e8ed4dc13d11f2c1990947e2a5077c0b3c6915 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_H__
-#define __IOT_CONNECTIVITY_MANAGER_H__
+#ifndef __IOT_CONNECTIVITY_H__
+#define __IOT_CONNECTIVITY_H__
 
 #ifdef __cplusplus
 extern "C" {
@@ -135,4 +135,4 @@ int iotcon_set_timeout(int timeout_seconds);
 }
 #endif
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_H__ */
+#endif /* __IOT_CONNECTIVITY_H__ */
index b28d5e7edd615abdaedc0b04e49424c63dcb54d6..ef17bb534b01e1a2268e18fd1ea42d5f27f75fac 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -139,7 +139,7 @@ static void _on_response_post(iotcon_remote_resource_h resource,
        INFO("POST request was successful");
 
        ret = iotcon_response_get_representation(response, &recv_repr);
-               if (IOTCON_ERROR_NONE != ret) {
+       if (IOTCON_ERROR_NONE != ret) {
                ERR("iotcon_response_get_representation() Fail(%d)", ret);
                return;
        }
@@ -453,7 +453,7 @@ static void _found_resource(iotcon_remote_resource_h resource, iotcon_error_e re
        node = g_list_find_custom(device_id_list, resource_device_id, _device_id_compare);
 
        if (node && TEST_STR_EQUAL == strncmp(DOOR_RESOURCE_URI_PREFIX, resource_uri_path,
-                       strlen(DOOR_RESOURCE_URI_PREFIX))) {
+                               strlen(DOOR_RESOURCE_URI_PREFIX))) {
                DBG("uri_path \"%s\" already found. skip !", resource_uri_path);
                return;
        }
@@ -530,7 +530,7 @@ static void _found_resource(iotcon_remote_resource_h resource, iotcon_error_e re
        }
 
        if (TEST_STR_EQUAL == strncmp(DOOR_RESOURCE_URI_PREFIX, resource_uri_path,
-                       strlen(DOOR_RESOURCE_URI_PREFIX))) {
+                               strlen(DOOR_RESOURCE_URI_PREFIX))) {
                iotcon_query_h query;
 
                ret = iotcon_remote_resource_clone(resource, &resource_clone);
index c668025f106b6e1c7d92b914ab4ab1094dbb821b..3219e17e9dd2cb2e0b3afccc2c4849b3184c7246 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 3b6462ef441b064a0942571969a3dff922779cf5..aca6409e7f59a81be97fe1497abed89415f88ebb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index d1cc7a87c2325df3a541405761f15dbe8d0f4d6d..687352c379ffaf373658f59418c8246e3b7d85ef 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 2d379f2296a63ae70341b25147b584ec6a463164..485cff587c37c7345ad2877f4cda04ce2b6b631c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 25e5c6e6c28b9d2f0aa0782db6104fdd0314f07c..02c11927f3e73933ce1c997463d01ef6177a28a9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -127,7 +127,7 @@ static void _print_repr(iotcon_representation_h recv_repr)
                }
 
                if (TEST_STR_EQUAL == strncmp(LIGHT_RESOURCE_URI_PREFIX, uri_path,
-                               strlen(LIGHT_RESOURCE_URI_PREFIX))) {
+                                       strlen(LIGHT_RESOURCE_URI_PREFIX))) {
                        ret = iotcon_state_get_keys_count(child_state, &key_count);
                        if (IOTCON_ERROR_NONE != ret) {
                                ERR("iotcon_state_get_keys_count() Fail(%d)", ret);
@@ -143,7 +143,7 @@ static void _print_repr(iotcon_representation_h recv_repr)
                                DBG("brightness : %d", int_val);
                        }
                } else if (TEST_STR_EQUAL == strncmp(FAN_RESOURCE_URI_PREFIX, uri_path,
-                               strlen(FAN_RESOURCE_URI_PREFIX))) {
+                                       strlen(FAN_RESOURCE_URI_PREFIX))) {
                        ret = iotcon_state_get_keys_count(child_state, &key_count);
                        if (IOTCON_ERROR_NONE != ret) {
                                ERR("iotcon_state_get_keys_count() Fail(%d)", ret);
@@ -307,7 +307,7 @@ static void _found_resource(iotcon_remote_resource_h resource, iotcon_error_e re
        node = g_list_find_custom(device_id_list, resource_device_id, _device_id_compare);
 
        if (node && TEST_STR_EQUAL == strncmp(ROOM_RESOURCE_URI_PREFIX, resource_uri_path,
-                       strlen(ROOM_RESOURCE_URI_PREFIX))) {
+                               strlen(ROOM_RESOURCE_URI_PREFIX))) {
                DBG("uri_path \"%s\" already found. skip !", resource_uri_path);
                return;
        }
@@ -366,7 +366,7 @@ static void _found_resource(iotcon_remote_resource_h resource, iotcon_error_e re
        }
 
        if (TEST_STR_EQUAL == strncmp(ROOM_RESOURCE_URI_PREFIX, resource_uri_path,
-                       strlen(ROOM_RESOURCE_URI_PREFIX))) {
+                               strlen(ROOM_RESOURCE_URI_PREFIX))) {
                ret = iotcon_remote_resource_clone(resource, &cloned_resource);
                if (IOTCON_ERROR_NONE != ret) {
                        ERR("iotcon_remote_resource_clone() Fail(%d)", ret);
index 01a3e56c1bede410014a19d565ff479993cb2f1a..7b1c29c0b4ab9efb185fc068cbb0e0be5caf7d16 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
index 312ef04728eada6368ccb5e0cdec53f5ec29840e..9735573e2ff0558275dc2161781274fe9f4d7281 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __IOT_CONNECTIVITY_MANAGER_TEST_H__
-#define __IOT_CONNECTIVITY_MANAGER_TEST_H__
+#ifndef __IOT_CONNECTIVITY_TEST_H__
+#define __IOT_CONNECTIVITY_TEST_H__
 
 /* for strcmp() */
 #define TEST_STR_EQUAL 0
                } \
        } while (0)
 
-#endif /* __IOT_CONNECTIVITY_MANAGER_TEST_H__ */
+#endif /* __IOT_CONNECTIVITY_TEST_H__ */