Merge pull request #969 from pwpiwi/gcc10_fixes
[legacy-proxmark3.git] / client / cmdhf14a.h
blobd1669f3a653c745e01883563c7a6fe80c85008ee
1 //-----------------------------------------------------------------------------
2 // 2011, Merlok
3 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4 //
5 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
6 // at your option, any later version. See the LICENSE.txt file for the text of
7 // the license.
8 //-----------------------------------------------------------------------------
9 // High frequency ISO14443A commands
10 //-----------------------------------------------------------------------------
12 #ifndef CMDHF14A_H__
13 #define CMDHF14A_H__
15 #include <stdint.h>
16 #include <stdbool.h>
17 #include "mifare.h"
19 extern int CmdHF14A(const char *Cmd);
20 extern int CmdHF14AMfDbg(const char* cmd);
21 extern int CmdHF14AList(const char *Cmd);
22 extern int CmdHF14AMifare(const char *Cmd);
23 extern int CmdHF14AReader(const char *Cmd);
24 extern int CmdHF14AInfo(const char *Cmd);
25 extern int CmdHF14ASim(const char *Cmd);
26 extern int CmdHF14ASnoop(const char *Cmd);
28 extern void DropField();
30 extern int Hf14443_4aGetCardData(iso14a_card_select_t * card);
31 extern int ExchangeRAW14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen);
32 extern int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen);
34 #endif