Fix .service and install it into dbus system service directory
[platform/core/connectivity/nfc-manager-neard.git] / daemon / net_nfc_server_process_npp.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_PROCESS_NPP_H__
17 #define __NET_NFC_SERVER_PROCESS_NPP_H__
18
19 #include <glib.h>
20
21 #include "net_nfc_typedef.h"
22 #include "net_nfc_typedef_internal.h"
23
24 typedef void (*net_nfc_server_npp_callback) (net_nfc_error_e result,
25                 data_s *data,
26                 gpointer user_data);
27
28 net_nfc_error_e net_nfc_server_npp_server(net_nfc_target_handle_s *handle,
29                 char *san, sap_t sap, net_nfc_server_npp_callback callback, gpointer user_data);
30
31 net_nfc_error_e net_nfc_server_npp_client(net_nfc_target_handle_s *handle,
32                 char *san,
33                 sap_t sap,
34                 data_s *data,
35                 net_nfc_server_npp_callback callback,
36                 gpointer user_data);
37
38 net_nfc_error_e net_nfc_server_npp_default_server_start(
39                 net_nfc_target_handle_s *handle);
40
41 net_nfc_error_e net_nfc_server_npp_default_client_start(
42                 net_nfc_target_handle_s *handle, data_s *data, int client, gpointer user_data);
43
44 net_nfc_error_e net_nfc_server_npp_default_server_register();
45
46 net_nfc_error_e net_nfc_server_npp_default_server_unregister();
47
48 #endif //__NET_NFC_SERVER_PROCESS_NPP_H__