X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/669c1b80c563bb9cb7eda52c6d01e720453d00b0..2715eb5fcf75ddcde9aec4ed7f6aea0e8d82029e:/client/cmdhflegic.h?ds=sidebyside diff --git a/client/cmdhflegic.h b/client/cmdhflegic.h index 7da1be61..78527f23 100644 --- a/client/cmdhflegic.h +++ b/client/cmdhflegic.h @@ -1,9 +1,45 @@ +//----------------------------------------------------------------------------- +// Copyright (C) 2010 iZsh +// +// This code is licensed to you under the terms of the GNU GPL, version 2 or, +// at your option, any later version. See the LICENSE.txt file for the text of +// the license. +//----------------------------------------------------------------------------- +// High frequency Legic commands +//----------------------------------------------------------------------------- + #ifndef CMDHFLEGIC_H__ #define CMDHFLEGIC_H__ +#include +#include +#include "proxmark3.h" +#include "data.h" +#include "ui.h" +#include "cmdparser.h" +#include "cmdmain.h" +#include "util.h" +#include "crc.h" +#include "legic_prng.h" +#include "legic.h" // legic_card_select_t struct + int CmdHFLegic(const char *Cmd); int CmdLegicRFRead(const char *Cmd); int CmdLegicDecode(const char *Cmd); +int CmdLegicLoad(const char *Cmd); +int CmdLegicSave(const char *Cmd); +int CmdLegicRfSim(const char *Cmd); +int CmdLegicRfWrite(const char *Cmd); +int CmdLegicRfRawWrite(const char *Cmd); +int CmdLegicRfFill(const char *Cmd); + +int CmdLegicCalcCrc8(const char *Cmd); +int CmdLegicInfo(const char *Cmd); +int HFLegicInfo(const char *Cmd, bool verbose); +int usage_legic_calccrc8(void); +int usage_legic_load(void); +int usage_legic_read(void); +int usage_legic_info(void); #endif