2 * Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd.
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
8 * http://floralicense.org/license/
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 __NET_NFC_SERVER_PROCESS_NPP_H__
17 #define __NET_NFC_SERVER_PROCESS_NPP_H__
21 #include "net_nfc_typedef.h"
22 #include "net_nfc_typedef_internal.h"
24 typedef void (*net_nfc_server_npp_callback) (net_nfc_error_e result,
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);
31 net_nfc_error_e net_nfc_server_npp_client(net_nfc_target_handle_s *handle,
35 net_nfc_server_npp_callback callback,
38 net_nfc_error_e net_nfc_server_npp_default_server_start(
39 net_nfc_target_handle_s *handle);
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);
44 net_nfc_error_e net_nfc_server_npp_default_server_register();
46 net_nfc_error_e net_nfc_server_npp_default_server_unregister();
48 #endif //__NET_NFC_SERVER_PROCESS_NPP_H__