/*
- * 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.
* 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"
#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__ */
/*
- * 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.
* 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>
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__*/
/*
- * 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.
* 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__ */
/*
- * 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.
/*
- * 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.
* 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"
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__ */
/*
- * 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.
/*
- * 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.
/*
- * 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.
* 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"
char *system_time;
};
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_DEVICE_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_DEVICE_H__ */
/*
- * 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.
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);
* 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>
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__*/
/*
- * 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.
* 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"
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__*/
/*
- * 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.
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);
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) {
/ sizeof(response.sendVendorSpecificHeaderOptions[0]));
response.numSendVendorSpecificHeaderOptions =
- g_hash_table_size(response_handle->header_options->hash);
+ g_hash_table_size(response_handle->header_options->hash);
}
* 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>
int icl_ioty_response_send(iotcon_response_h response);
-#endif /*__IOT_CONNECTIVITY_MANAGER_LIBRARY_IOTIVITY_H__*/
+#endif /*__IOT_CONNECTIVITY_LIBRARY_IOTIVITY_H__*/
/*
- * 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.
/*
- * 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.
* 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>
iotcon_list_h icl_list_ref(iotcon_list_h list);
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_LIST_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_LIST_H__ */
/*
- * 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.
* 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"
iotcon_connectivity_type_e connectivity_type;
};
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_LITE_RESOURCE_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_LITE_RESOURCE_H__ */
/*
- * 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.
/*
- * 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.
* 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"
GList *observers_list;
};
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_OBSERVATION_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_OBSERVATION_H__ */
/*
- * 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.
/*
- * 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.
* 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"
iotcon_options_h icl_options_ref(iotcon_options_h options);
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_OPTIONS_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_OPTIONS_H__ */
/*
- * 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.
* 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>
iotcon_presence_trigger_e trigger;
} icl_presence_response_s;
-#endif /*__IOT_CONNECTIVITY_MANAGER_LIBRARY_PRESENCE_H__*/
+#endif /*__IOT_CONNECTIVITY_LIBRARY_PRESENCE_H__*/
/*
- * 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.
/*
- * 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.
* 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"
GHashTable *hash;
};
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_QUERY_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_QUERY_H__ */
/*
- * 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.
/*
- * 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.
/*
- * 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.
/*
- * 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.
/*
- * 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.
* 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>
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__ */
/*
- * 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.
/*
- * 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.
* 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>
iotcon_representation_h repr2);
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_REPRESENTATION_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_REPRESENTATION_H__ */
/*
- * 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.
/*
- * 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.
* 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"
int64_t oic_resource_h;
};
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_REQUEST_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_REQUEST_H__ */
/*
- * 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.
/*
- * 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.
* 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"
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__ */
/*
- * 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.
/*
- * 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.
* 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"
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__ */
/*
- * 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.
/*
- * 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.
* 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>
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__*/
/*
- * 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.
/*
- * 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.
* 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"
iotcon_connectivity_type_e connectivity_type;
};
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESPONSE_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_RESPONSE_H__ */
-/* 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.
/*
- * 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.
* 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"
iotcon_state_h icl_state_ref(iotcon_state_h state);
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_STATE_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_STATE_H__ */
/*
- * 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.
* 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"
void icl_destroy_request_container(icl_request_container_s *cb_container);
-#endif /*__IOT_CONNECTIVITY_MANAGER_LIBRARY_TYPES_H__*/
+#endif /*__IOT_CONNECTIVITY_LIBRARY_TYPES_H__*/
/*
- * 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.
/*
- * 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.
* 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>
iotcon_value_h icl_value_clone(iotcon_value_h src);
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_VALUE_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_VALUE_H__ */
/*
- * 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.
}
}
- return IOTCON_ERROR_NONE;
+ return IOTCON_ERROR_NONE;
}
API void iotcon_deinitialize(void)
/*
- * 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.
* 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"
#endif
#define API __attribute__((visibility("default")))
-#endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_H__ */
+#endif /* __IOT_CONNECTIVITY_LIBRARY_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_CLIENT_H__ */
+#endif /* __IOT_CONNECTIVITY_CLIENT_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_CONSTANT_H__ */
+#endif /* __IOT_CONNECTIVITY_CONSTANT_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_ERRORS_H__ */
+#endif /* __IOT_CONNECTIVITY_ERRORS_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_LIST_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_LIST_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_SERVER_LITE_RESOURCE_H__ */
+#endif /* __IOT_CONNECTIVITY_SERVER_LITE_RESOURCE_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_SERVER_OBSERVERS_H__ */
+#endif /* __IOT_CONNECTIVITY_SERVER_OBSERVERS_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_OPTIONS_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_OPTIONS_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_QUERY_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_QUERY_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_CLIENT_REMOTE_RESOURCE_H__ */
+#endif /* __IOT_CONNECTIVITY_CLIENT_REMOTE_RESOURCE_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_REPRESENTATION_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_REPRESENTATION_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_SERVER_REQUEST_H__ */
+#endif /* __IOT_CONNECTIVITY_SERVER_REQUEST_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_RESOURCE_INTERFACES_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_RESOURCE_INTERFACES_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_RESOURCE_TYPES_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_RESOURCE_TYPES_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_SERVER_RESOURCE_H__ */
+#endif /* __IOT_CONNECTIVITY_SERVER_RESOURCE_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_COMMON_RESPONSE_H__ */
+#endif /* __IOT_CONNECTIVITY_COMMON_RESPONSE_H__ */
/*
- * 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.
* 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>
* @{
*/
- /**
+/**
* @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.
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_SERVER_H__ */
+#endif /* __IOT_CONNECTIVITY_SERVER_H__ */
/*
- * 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.
* 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>
* @}
*/
-#endif /* __IOT_CONNECTIVITY_MANAGER_STRUCT_STATE_H__ */
+#endif /* __IOT_CONNECTIVITY_STRUCT_STATE_H__ */
/*
- * 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.
* 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>
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;
/**
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;
/**
#include <iotcon-resource-types.h>
#include <iotcon-resource-interfaces.h>
-#endif /* __IOT_CONNECTIVITY_MANAGER_TYPES_H__ */
+#endif /* __IOT_CONNECTIVITY_TYPES_H__ */
/*
- * 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.
* 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" {
}
#endif
-#endif /* __IOT_CONNECTIVITY_MANAGER_H__ */
+#endif /* __IOT_CONNECTIVITY_H__ */
/*
- * 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.
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;
}
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;
}
}
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);
/*
- * 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.
/*
- * 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.
/*
- * 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.
/*
- * 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.
/*
- * 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.
}
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);
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);
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;
}
}
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);
/*
- * 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.
/*
- * 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.
* 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__ */