Merge pull request #969 from pwpiwi/gcc10_fixes
[legacy-proxmark3.git] / armsrc / hitagS.h
blob8451b2cfab9163f7de65425087e54a609f4d662d
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
4 // the license.
5 //-----------------------------------------------------------------------------
6 // HitagS emulation (preliminary test version)
7 //
8 // (c) 2016 Oguzhan Cicek, Hendrik Schwartke, Ralf Spenneberg
9 // <info@os-s.de>
10 //-----------------------------------------------------------------------------
11 // Some code was copied from Hitag2.c
12 //-----------------------------------------------------------------------------
14 #ifndef HITAGS_H__
15 #define HITAGS_H__
17 #include <stdint.h>
18 #include <stdbool.h>
19 #include "hitag.h"
21 void ReadHitagSCmd(hitag_function htf, hitag_data* htd, uint64_t startPage, uint64_t tagMode, bool readBlock);
22 void SimulateHitagSTag(bool tag_mem_supplied, uint8_t* data);
23 void WritePageHitagS(hitag_function htf, hitag_data* htd, int page);
24 void check_challenges_cmd(bool file_given, uint8_t* data, uint64_t tagMode);
26 #endif