revise cumbersome structure that is a opaque type
[platform/core/connectivity/nfc-manager-neard.git] / daemon / net_nfc_server_p2p.h
1 /*
2  * Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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 #ifndef __NET_NFC_SERVER_P2P_H__
17 #define __NET_NFC_SERVER_P2P_H__
18
19 #include <gio/gio.h>
20
21 #include "net_nfc_typedef_internal.h"
22
23 gboolean net_nfc_server_p2p_init(GDBusConnection *connection);
24
25 void net_nfc_server_p2p_deinit(void);
26
27 /* server side */
28 void net_nfc_server_p2p_detached(void);
29
30 void net_nfc_server_p2p_discovered(net_nfc_target_handle_s *handle);
31
32 void net_nfc_server_p2p_received(data_s *user_data);
33
34 void net_nfc_server_p2p_data_sent(net_nfc_error_e result, gpointer user_data);
35
36 #endif //__NET_NFC_SERVER_P2P_H__