1 #include "fuzz_cmn.h"
2 
3 // These are the functions implemented elsewhere in the NFC code. Our fuzzing
4 // doesn't need them. To avoid pulling into more source code we simply stub
5 // them out.
6 
NFC_GetNCIVersion()7 uint8_t NFC_GetNCIVersion() { return NCI_VERSION_2_0; }
8 
NFC_DiscoveryMap(uint8_t,tNFC_DISCOVER_MAPS *,tNFC_DISCOVER_CBACK *)9 tNFC_STATUS NFC_DiscoveryMap(uint8_t, tNFC_DISCOVER_MAPS*,
10                              tNFC_DISCOVER_CBACK*) {
11   return NFC_STATUS_OK;
12 }
13 
nfa_sys_cback_notify_nfcc_power_mode_proc_complete(uint8_t)14 void nfa_sys_cback_notify_nfcc_power_mode_proc_complete(uint8_t) {}
15 
nfa_sys_cback_reg_enable_complete(void *)16 void nfa_sys_cback_reg_enable_complete(void*) {}
17 
NFC_Enable(tNFC_RESPONSE_CBACK *)18 tNFC_STATUS NFC_Enable(tNFC_RESPONSE_CBACK*) { return NFC_STATUS_OK; }
19 
nfa_sys_deregister(uint8_t)20 void nfa_sys_deregister(uint8_t) {}
nfa_rw_stop_presence_check_timer()21 void nfa_rw_stop_presence_check_timer() {}
nfa_rw_proc_disc_evt(int,tNFC_DISCOVER *,bool)22 void nfa_rw_proc_disc_evt(int, tNFC_DISCOVER*, bool) {}
23