2 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
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.
17 #ifndef __NET_NFC_UTIL_GDBUS_INTERNAL_H__
18 #define __NET_NFC_UTIL_GDBUS_INTERNAL_H__
22 #include "net_nfc_typedef_internal.h"
24 void net_nfc_util_gdbus_variant_to_buffer(GVariant *variant, uint8_t **buffer,
27 data_s *net_nfc_util_gdbus_variant_to_data(GVariant *variant);
29 void net_nfc_util_gdbus_variant_to_data_s(GVariant *variant, data_s *data);
31 GVariant *net_nfc_util_gdbus_buffer_to_variant(const uint8_t *buffer,
34 GVariant *net_nfc_util_gdbus_data_to_variant(const data_s *data);
36 ndef_message_s *net_nfc_util_gdbus_variant_to_ndef_message(GVariant *variant);
38 GVariant *net_nfc_util_gdbus_ndef_message_to_variant(
39 const ndef_message_s *message);
41 #endif //__NET_NFC_UTIL_GDBUS_INTERNAL_H__