2 * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 #ifndef __IOT_CONNECTIVITY_MANAGER_LIBRARY_DBUS_TYPE_H__
17 #define __IOT_CONNECTIVITY_MANAGER_LIBRARY_DBUS_TYPE_H__
21 #include "icl-device.h"
22 #include "icl-resource-types.h"
24 const char** icl_dbus_resource_interfaces_to_array(iotcon_resource_interfaces_h types);
25 const char** icl_dbus_resource_types_to_array(iotcon_resource_types_h types);
26 GVariant* icl_dbus_representation_to_gvariant(struct icl_representation_s *repr);
27 GVariant* icl_dbus_response_to_gvariant(struct icl_resource_response *response);
28 GVariant* icl_dbus_remote_resource_to_gvariant(struct icl_remote_resource *resource);
29 GVariant* icl_dbus_query_to_gvariant(iotcon_query_h query);
30 GVariant* icl_dbus_options_to_gvariant(iotcon_options_h options);
31 GVariant* icl_dbus_observers_to_gvariant(iotcon_observers_h observers);
33 #endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_DBUS_TYPE_H__ */