Remove unnecessary setting
[platform/core/connectivity/nfc-manager-neard.git] / daemon / net_nfc_server_handover_bt.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 #ifndef __NET_NFC_SERVER_HANDOVER_BT_H__
17 #define __NET_NFC_SERVER_HANDOVER_BT_H__
18
19 #include "net_nfc_typedef_internal.h"
20
21 typedef void (*net_nfc_server_handover_get_carrier_record_cb)(
22                 net_nfc_error_e result,
23                 net_nfc_conn_handover_carrier_state_e cps,
24                 ndef_record_s *carrier,
25                 uint32_t aux_data_count,
26                 ndef_record_s *aux_data,
27                 void *user_param);
28
29 typedef void (*net_nfc_server_handover_process_carrier_record_cb)(
30                 net_nfc_error_e result,
31                 net_nfc_conn_handover_carrier_type_e type,
32                 data_s *data,
33                 void *user_param);
34
35 /* alternative carrier functions */
36 net_nfc_error_e net_nfc_server_handover_bt_get_carrier_record(
37                 net_nfc_server_handover_get_carrier_record_cb cb, void *user_param);
38
39 net_nfc_error_e net_nfc_server_handover_bt_process_carrier_record(
40                 ndef_record_s *record, net_nfc_server_handover_process_carrier_record_cb cb,
41                 void *user_param);
42
43 net_nfc_error_e net_nfc_server_handover_bt_post_process(data_s *data,
44                 net_nfc_server_handover_process_carrier_record_cb cb,
45                 void *user_param);
46
47 #endif //__NET_NFC_SERVER_HANDOVER_BT_H__