Remove unnecessary setting
[platform/core/connectivity/nfc-manager-neard.git] / common / net_nfc_util_gdbus_internal.h
1 /*
2  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  *                               http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 #ifndef __NET_NFC_UTIL_GDBUS_INTERNAL_H__
18 #define __NET_NFC_UTIL_GDBUS_INTERNAL_H__
19
20 #include <glib.h>
21
22 #include "net_nfc_typedef_internal.h"
23
24 void net_nfc_util_gdbus_variant_to_buffer(GVariant *variant, uint8_t **buffer,
25                 size_t *length);
26
27 data_s *net_nfc_util_gdbus_variant_to_data(GVariant *variant);
28
29 void net_nfc_util_gdbus_variant_to_data_s(GVariant *variant, data_s *data);
30
31 GVariant *net_nfc_util_gdbus_buffer_to_variant(const uint8_t *buffer,
32                 size_t length);
33
34 GVariant *net_nfc_util_gdbus_data_to_variant(const data_s *data);
35
36 ndef_message_s *net_nfc_util_gdbus_variant_to_ndef_message(GVariant *variant);
37
38 GVariant *net_nfc_util_gdbus_ndef_message_to_variant(
39                 const ndef_message_s *message);
40
41 #endif //__NET_NFC_UTIL_GDBUS_INTERNAL_H__