summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Shin <yj99.shin@samsung.com>2016-05-02 20:05:15 +0900
committerYoungjae Shin <yj99.shin@samsung.com>2016-05-02 20:13:18 +0900
commit41192bd69e8060c6f209d1795c15d8860f10e9c1 (patch)
treec47298df5fd1396abfb98b5a5bed486e2385eacb
parentf05dc7a8335154049efce839130df582f1f1c1a4 (diff)
downloadiotcon-41192bd69e8060c6f209d1795c15d8860f10e9c1.tar.gz
iotcon-41192bd69e8060c6f209d1795c15d8860f10e9c1.tar.bz2
iotcon-41192bd69e8060c6f209d1795c15d8860f10e9c1.zip
cleanup code
- change header file defines - change copyright year Change-Id: Ic4375383da6711341adec831bc4fa154495473c8
-rw-r--r--common/ic-common.h8
-rw-r--r--common/ic-ioty-types.c2
-rw-r--r--common/ic-ioty-types.h6
-rw-r--r--common/ic-log.h8
-rw-r--r--common/ic-utils.c2
-rw-r--r--common/ic-utils.h8
-rw-r--r--doc/iotcon_doc.h2
-rw-r--r--lib/icl-device.c2
-rw-r--r--lib/icl-device.h8
-rw-r--r--lib/icl-ioty-ocprocess.c4
-rw-r--r--lib/icl-ioty-ocprocess.h6
-rw-r--r--lib/icl-ioty-types.c2
-rw-r--r--lib/icl-ioty-types.h6
-rw-r--r--lib/icl-ioty.c12
-rw-r--r--lib/icl-ioty.h6
-rw-r--r--lib/icl-list.c2
-rw-r--r--lib/icl-list.h8
-rw-r--r--lib/icl-lite-resource.c2
-rw-r--r--lib/icl-lite-resource.h6
-rw-r--r--lib/icl-observation.c2
-rw-r--r--lib/icl-observation.h8
-rw-r--r--lib/icl-options.c2
-rw-r--r--lib/icl-options.h8
-rw-r--r--lib/icl-presence.c2
-rw-r--r--lib/icl-presence.h6
-rw-r--r--lib/icl-query.c2
-rw-r--r--lib/icl-query.h8
-rw-r--r--lib/icl-remote-resource-caching.c2
-rw-r--r--lib/icl-remote-resource-crud.c2
-rw-r--r--lib/icl-remote-resource-monitoring.c2
-rw-r--r--lib/icl-remote-resource.c2
-rw-r--r--lib/icl-remote-resource.h8
-rw-r--r--lib/icl-representation.c2
-rw-r--r--lib/icl-representation.h8
-rw-r--r--lib/icl-request.c2
-rw-r--r--lib/icl-request.h8
-rw-r--r--lib/icl-resource-interfaces.c2
-rw-r--r--lib/icl-resource-interfaces.h8
-rw-r--r--lib/icl-resource-types.c2
-rw-r--r--lib/icl-resource-types.h8
-rw-r--r--lib/icl-resource.c2
-rw-r--r--lib/icl-resource.h8
-rw-r--r--lib/icl-response.c2
-rw-r--r--lib/icl-response.h8
-rw-r--r--lib/icl-state.c2
-rw-r--r--lib/icl-state.h8
-rw-r--r--lib/icl-types.c2
-rw-r--r--lib/icl-types.h6
-rw-r--r--lib/icl-value.c2
-rw-r--r--lib/icl-value.h8
-rw-r--r--lib/icl.c4
-rw-r--r--lib/icl.h8
-rw-r--r--lib/include/iotcon-client.h8
-rw-r--r--lib/include/iotcon-constant.h8
-rw-r--r--lib/include/iotcon-errors.h8
-rw-r--r--lib/include/iotcon-list.h8
-rw-r--r--lib/include/iotcon-lite-resource.h8
-rw-r--r--lib/include/iotcon-observers.h8
-rw-r--r--lib/include/iotcon-options.h8
-rw-r--r--lib/include/iotcon-query.h8
-rw-r--r--lib/include/iotcon-remote-resource.h8
-rw-r--r--lib/include/iotcon-representation.h8
-rw-r--r--lib/include/iotcon-request.h8
-rw-r--r--lib/include/iotcon-resource-interfaces.h8
-rw-r--r--lib/include/iotcon-resource-types.h8
-rw-r--r--lib/include/iotcon-resource.h8
-rw-r--r--lib/include/iotcon-response.h8
-rw-r--r--lib/include/iotcon-server.h10
-rw-r--r--lib/include/iotcon-state.h8
-rw-r--r--lib/include/iotcon-types.h38
-rw-r--r--lib/include/iotcon.h8
-rw-r--r--test/iotcon-test-basic-client.c8
-rw-r--r--test/iotcon-test-basic-server.c2
-rw-r--r--test/iotcon-test-device-client.c2
-rw-r--r--test/iotcon-test-encap-client.c2
-rw-r--r--test/iotcon-test-encap-server.c2
-rw-r--r--test/iotcon-test-iface-client.c10
-rw-r--r--test/iotcon-test-iface-server.c2
-rw-r--r--test/test.h8
79 files changed, 237 insertions, 237 deletions
diff --git a/common/ic-common.h b/common/ic-common.h
index c8027f5..9f514ab 100644
--- a/common/ic-common.h
+++ b/common/ic-common.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_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__ */
diff --git a/common/ic-ioty-types.c b/common/ic-ioty-types.c
index 7337ac4..60bec4b 100644
--- a/common/ic-ioty-types.c
+++ b/common/ic-ioty-types.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.
diff --git a/common/ic-ioty-types.h b/common/ic-ioty-types.h
index 9ef832f..6ed120a 100644
--- a/common/ic-ioty-types.h
+++ b/common/ic-ioty-types.h
@@ -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__*/
diff --git a/common/ic-log.h b/common/ic-log.h
index d2c8d06..ec6e9a6 100644
--- a/common/ic-log.h
+++ b/common/ic-log.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_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"
@@ -141,4 +141,4 @@
} \
} while (0)
-#endif /* __IOT_CONNECTIVITY_MANAGER_INTERNAL_LOG_H__ */
+#endif /* __IOT_CONNECTIVITY_INTERNAL_LOG_H__ */
diff --git a/common/ic-utils.c b/common/ic-utils.c
index 2008bd5..2969a83 100644
--- a/common/ic-utils.c
+++ b/common/ic-utils.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.
diff --git a/common/ic-utils.h b/common/ic-utils.h
index b568c66..f376d83 100644
--- a/common/ic-utils.h
+++ b/common/ic-utils.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_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__ */
diff --git a/doc/iotcon_doc.h b/doc/iotcon_doc.h
index cb92376..39ea4ba 100644
--- a/doc/iotcon_doc.h
+++ b/doc/iotcon_doc.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.
diff --git a/lib/icl-device.c b/lib/icl-device.c
index bd28e9b..39b94a3 100644
--- a/lib/icl-device.c
+++ b/lib/icl-device.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.
diff --git a/lib/icl-device.h b/lib/icl-device.h
index 203c6fc..ad625a1 100644
--- a/lib/icl-device.h
+++ b/lib/icl-device.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_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__ */
diff --git a/lib/icl-ioty-ocprocess.c b/lib/icl-ioty-ocprocess.c
index 8c1e3f5..e1e50d7 100644
--- a/lib/icl-ioty-ocprocess.c
+++ b/lib/icl-ioty-ocprocess.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.
@@ -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);
diff --git a/lib/icl-ioty-ocprocess.h b/lib/icl-ioty-ocprocess.h
index e05f897..714b99b 100644
--- a/lib/icl-ioty-ocprocess.h
+++ b/lib/icl-ioty-ocprocess.h
@@ -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__*/
diff --git a/lib/icl-ioty-types.c b/lib/icl-ioty-types.c
index 629c4cd..de596da 100644
--- a/lib/icl-ioty-types.c
+++ b/lib/icl-ioty-types.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.
diff --git a/lib/icl-ioty-types.h b/lib/icl-ioty-types.h
index f58b707..3bfcb79 100644
--- a/lib/icl-ioty-types.h
+++ b/lib/icl-ioty-types.h
@@ -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__*/
diff --git a/lib/icl-ioty.c b/lib/icl-ioty.c
index a1103d6..76f0bc9 100644
--- a/lib/icl-ioty.c
+++ b/lib/icl-ioty.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.
@@ -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);
}
diff --git a/lib/icl-ioty.h b/lib/icl-ioty.h
index 938886b..8937b5e 100644
--- a/lib/icl-ioty.h
+++ b/lib/icl-ioty.h
@@ -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__*/
diff --git a/lib/icl-list.c b/lib/icl-list.c
index 6a92c4f..6d42f70 100644
--- a/lib/icl-list.c
+++ b/lib/icl-list.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.
diff --git a/lib/icl-list.h b/lib/icl-list.h
index 9b7fe6b..4a1a5e5 100644
--- a/lib/icl-list.h
+++ b/lib/icl-list.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_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__ */
diff --git a/lib/icl-lite-resource.c b/lib/icl-lite-resource.c
index c17e60b..2f042e7 100644
--- a/lib/icl-lite-resource.c
+++ b/lib/icl-lite-resource.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.
diff --git a/lib/icl-lite-resource.h b/lib/icl-lite-resource.h
index 8034874..ebc02c4 100644
--- a/lib/icl-lite-resource.h
+++ b/lib/icl-lite-resource.h
@@ -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__ */
diff --git a/lib/icl-observation.c b/lib/icl-observation.c
index bdc9c56..19ef08d 100644
--- a/lib/icl-observation.c
+++ b/lib/icl-observation.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.
diff --git a/lib/icl-observation.h b/lib/icl-observation.h
index da808a2..be77a23 100644
--- a/lib/icl-observation.h
+++ b/lib/icl-observation.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_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__ */
diff --git a/lib/icl-options.c b/lib/icl-options.c
index 3f0eb14..669227e 100644
--- a/lib/icl-options.c
+++ b/lib/icl-options.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.
diff --git a/lib/icl-options.h b/lib/icl-options.h
index f755f87..d6d97ee 100644
--- a/lib/icl-options.h
+++ b/lib/icl-options.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_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__ */
diff --git a/lib/icl-presence.c b/lib/icl-presence.c
index 816c265..2712555 100644
--- a/lib/icl-presence.c
+++ b/lib/icl-presence.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.
diff --git a/lib/icl-presence.h b/lib/icl-presence.h
index 79f0282..56e8ef3 100644
--- a/lib/icl-presence.h
+++ b/lib/icl-presence.h
@@ -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__*/
diff --git a/lib/icl-query.c b/lib/icl-query.c
index 794ee04..1c11c36 100644
--- a/lib/icl-query.c
+++ b/lib/icl-query.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.
diff --git a/lib/icl-query.h b/lib/icl-query.h
index da43699..3eba7ad 100644
--- a/lib/icl-query.h
+++ b/lib/icl-query.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_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__ */
diff --git a/lib/icl-remote-resource-caching.c b/lib/icl-remote-resource-caching.c
index eaae199..a58c98e 100644
--- a/lib/icl-remote-resource-caching.c
+++ b/lib/icl-remote-resource-caching.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.
diff --git a/lib/icl-remote-resource-crud.c b/lib/icl-remote-resource-crud.c
index 042d086..5247534 100644
--- a/lib/icl-remote-resource-crud.c
+++ b/lib/icl-remote-resource-crud.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.
diff --git a/lib/icl-remote-resource-monitoring.c b/lib/icl-remote-resource-monitoring.c
index c1976a6..acf48ed 100644
--- a/lib/icl-remote-resource-monitoring.c
+++ b/lib/icl-remote-resource-monitoring.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.
diff --git a/lib/icl-remote-resource.c b/lib/icl-remote-resource.c
index 6ab20da..0e5a99a 100644
--- a/lib/icl-remote-resource.c
+++ b/lib/icl-remote-resource.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.
diff --git a/lib/icl-remote-resource.h b/lib/icl-remote-resource.h
index aaaea5c..1c6480b 100644
--- a/lib/icl-remote-resource.h
+++ b/lib/icl-remote-resource.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_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__ */
diff --git a/lib/icl-representation.c b/lib/icl-representation.c
index be1627b..2bddd70 100644
--- a/lib/icl-representation.c
+++ b/lib/icl-representation.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.
diff --git a/lib/icl-representation.h b/lib/icl-representation.h
index 89e4317..f881e86 100644
--- a/lib/icl-representation.h
+++ b/lib/icl-representation.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_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__ */
diff --git a/lib/icl-request.c b/lib/icl-request.c
index cb15c08..18099a5 100644
--- a/lib/icl-request.c
+++ b/lib/icl-request.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.
diff --git a/lib/icl-request.h b/lib/icl-request.h
index 997e263..7f970b2 100644
--- a/lib/icl-request.h
+++ b/lib/icl-request.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_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__ */
diff --git a/lib/icl-resource-interfaces.c b/lib/icl-resource-interfaces.c
index bf5b5aa..148b3d0 100644
--- a/lib/icl-resource-interfaces.c
+++ b/lib/icl-resource-interfaces.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.
diff --git a/lib/icl-resource-interfaces.h b/lib/icl-resource-interfaces.h
index 6c54f83..741c850 100644
--- a/lib/icl-resource-interfaces.h
+++ b/lib/icl-resource-interfaces.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_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__ */
diff --git a/lib/icl-resource-types.c b/lib/icl-resource-types.c
index f195eb0..5fa3928 100644
--- a/lib/icl-resource-types.c
+++ b/lib/icl-resource-types.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.
diff --git a/lib/icl-resource-types.h b/lib/icl-resource-types.h
index 586e51d..72bd1b3 100644
--- a/lib/icl-resource-types.h
+++ b/lib/icl-resource-types.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_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__ */
diff --git a/lib/icl-resource.c b/lib/icl-resource.c
index 3c96086..023cc32 100644
--- a/lib/icl-resource.c
+++ b/lib/icl-resource.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.
diff --git a/lib/icl-resource.h b/lib/icl-resource.h
index 9f99edf..464f020 100644
--- a/lib/icl-resource.h
+++ b/lib/icl-resource.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_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__*/
diff --git a/lib/icl-response.c b/lib/icl-response.c
index eb5b2ea..4001aea 100644
--- a/lib/icl-response.c
+++ b/lib/icl-response.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.
diff --git a/lib/icl-response.h b/lib/icl-response.h
index 4460b76..eeb5df1 100644
--- a/lib/icl-response.h
+++ b/lib/icl-response.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_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__ */
diff --git a/lib/icl-state.c b/lib/icl-state.c
index ede9c25..fad9155 100644
--- a/lib/icl-state.c
+++ b/lib/icl-state.c
@@ -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.
diff --git a/lib/icl-state.h b/lib/icl-state.h
index 4520cdc..17c7033 100644
--- a/lib/icl-state.h
+++ b/lib/icl-state.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_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__ */
diff --git a/lib/icl-types.c b/lib/icl-types.c
index 6ae939a..9cd6a51 100644
--- a/lib/icl-types.c
+++ b/lib/icl-types.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.
diff --git a/lib/icl-types.h b/lib/icl-types.h
index 227a0e0..0ac9203 100644
--- a/lib/icl-types.h
+++ b/lib/icl-types.h
@@ -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__*/
diff --git a/lib/icl-value.c b/lib/icl-value.c
index 2366ffe..223b091 100644
--- a/lib/icl-value.c
+++ b/lib/icl-value.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.
diff --git a/lib/icl-value.h b/lib/icl-value.h
index caac05a..48e8d29 100644
--- a/lib/icl-value.h
+++ b/lib/icl-value.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_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__ */
diff --git a/lib/icl.c b/lib/icl.c
index 4373cba..01bad5e 100644
--- 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)
diff --git a/lib/icl.h b/lib/icl.h
index 540dbc5..460ccc6 100644
--- 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__ */
diff --git a/lib/include/iotcon-client.h b/lib/include/iotcon-client.h
index fac264a..ab812db 100644
--- a/lib/include/iotcon-client.h
+++ b/lib/include/iotcon-client.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_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__ */
diff --git a/lib/include/iotcon-constant.h b/lib/include/iotcon-constant.h
index bfb294b..0d74537 100644
--- a/lib/include/iotcon-constant.h
+++ b/lib/include/iotcon-constant.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_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__ */
diff --git a/lib/include/iotcon-errors.h b/lib/include/iotcon-errors.h
index cdea625..53fc126 100644
--- a/lib/include/iotcon-errors.h
+++ b/lib/include/iotcon-errors.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_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__ */
diff --git a/lib/include/iotcon-list.h b/lib/include/iotcon-list.h
index 7e26c75..1836ca3 100644
--- a/lib/include/iotcon-list.h
+++ b/lib/include/iotcon-list.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_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__ */
diff --git a/lib/include/iotcon-lite-resource.h b/lib/include/iotcon-lite-resource.h
index 7ff6abd..730163d 100644
--- a/lib/include/iotcon-lite-resource.h
+++ b/lib/include/iotcon-lite-resource.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_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__ */
diff --git a/lib/include/iotcon-observers.h b/lib/include/iotcon-observers.h
index 7ed9a42..d177775 100644
--- a/lib/include/iotcon-observers.h
+++ b/lib/include/iotcon-observers.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_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__ */
diff --git a/lib/include/iotcon-options.h b/lib/include/iotcon-options.h
index 6998a04..e5dea12 100644
--- a/lib/include/iotcon-options.h
+++ b/lib/include/iotcon-options.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_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__ */
diff --git a/lib/include/iotcon-query.h b/lib/include/iotcon-query.h
index d63b5a2..376a1bc 100644
--- a/lib/include/iotcon-query.h
+++ b/lib/include/iotcon-query.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_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__ */
diff --git a/lib/include/iotcon-remote-resource.h b/lib/include/iotcon-remote-resource.h
index 98fe875..a500c65 100644
--- a/lib/include/iotcon-remote-resource.h
+++ b/lib/include/iotcon-remote-resource.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_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__ */
diff --git a/lib/include/iotcon-representation.h b/lib/include/iotcon-representation.h
index a84c12d..17419fd 100644
--- a/lib/include/iotcon-representation.h
+++ b/lib/include/iotcon-representation.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_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__ */
diff --git a/lib/include/iotcon-request.h b/lib/include/iotcon-request.h
index a637b17..c8d32b3 100644
--- a/lib/include/iotcon-request.h
+++ b/lib/include/iotcon-request.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_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__ */
diff --git a/lib/include/iotcon-resource-interfaces.h b/lib/include/iotcon-resource-interfaces.h
index 8762520..dd10fe0 100644
--- a/lib/include/iotcon-resource-interfaces.h
+++ b/lib/include/iotcon-resource-interfaces.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_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__ */
diff --git a/lib/include/iotcon-resource-types.h b/lib/include/iotcon-resource-types.h
index deee69a..3a5adb0 100644
--- a/lib/include/iotcon-resource-types.h
+++ b/lib/include/iotcon-resource-types.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_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__ */
diff --git a/lib/include/iotcon-resource.h b/lib/include/iotcon-resource.h
index 616e343..45bc014 100644
--- a/lib/include/iotcon-resource.h
+++ b/lib/include/iotcon-resource.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_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__ */
diff --git a/lib/include/iotcon-response.h b/lib/include/iotcon-response.h
index bc45f35..0bfcb17 100644
--- a/lib/include/iotcon-response.h
+++ b/lib/include/iotcon-response.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_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__ */
diff --git a/lib/include/iotcon-server.h b/lib/include/iotcon-server.h
index 3a4f338..e627ffa 100644
--- a/lib/include/iotcon-server.h
+++ b/lib/include/iotcon-server.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_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__ */
diff --git a/lib/include/iotcon-state.h b/lib/include/iotcon-state.h
index 589155a..bed71c4 100644
--- a/lib/include/iotcon-state.h
+++ b/lib/include/iotcon-state.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_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__ */
diff --git a/lib/include/iotcon-types.h b/lib/include/iotcon-types.h
index f4a363e..5f268ab 100644
--- a/lib/include/iotcon-types.h
+++ b/lib/include/iotcon-types.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_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__ */
diff --git a/lib/include/iotcon.h b/lib/include/iotcon.h
index 0af6236..62e8ed4 100644
--- a/lib/include/iotcon.h
+++ b/lib/include/iotcon.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_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__ */
diff --git a/test/iotcon-test-basic-client.c b/test/iotcon-test-basic-client.c
index b28d5e7..ef17bb5 100644
--- a/test/iotcon-test-basic-client.c
+++ b/test/iotcon-test-basic-client.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.
@@ -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);
diff --git a/test/iotcon-test-basic-server.c b/test/iotcon-test-basic-server.c
index c668025..3219e17 100644
--- a/test/iotcon-test-basic-server.c
+++ b/test/iotcon-test-basic-server.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.
diff --git a/test/iotcon-test-device-client.c b/test/iotcon-test-device-client.c
index 3b6462e..aca6409 100644
--- a/test/iotcon-test-device-client.c
+++ b/test/iotcon-test-device-client.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.
diff --git a/test/iotcon-test-encap-client.c b/test/iotcon-test-encap-client.c
index d1cc7a8..687352c 100644
--- a/test/iotcon-test-encap-client.c
+++ b/test/iotcon-test-encap-client.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.
diff --git a/test/iotcon-test-encap-server.c b/test/iotcon-test-encap-server.c
index 2d379f2..485cff5 100644
--- a/test/iotcon-test-encap-server.c
+++ b/test/iotcon-test-encap-server.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.
diff --git a/test/iotcon-test-iface-client.c b/test/iotcon-test-iface-client.c
index 25e5c6e..02c1192 100644
--- a/test/iotcon-test-iface-client.c
+++ b/test/iotcon-test-iface-client.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.
@@ -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);
diff --git a/test/iotcon-test-iface-server.c b/test/iotcon-test-iface-server.c
index 01a3e56..7b1c29c 100644
--- a/test/iotcon-test-iface-server.c
+++ b/test/iotcon-test-iface-server.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.
diff --git a/test/test.h b/test/test.h
index 312ef04..9735573 100644
--- a/test/test.h
+++ b/test/test.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_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
@@ -129,4 +129,4 @@
} \
} while (0)
-#endif /* __IOT_CONNECTIVITY_MANAGER_TEST_H__ */
+#endif /* __IOT_CONNECTIVITY_TEST_H__ */