X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7fe9b0b742d7dae9c5af1d292d11840b5c3cbfae..a39944216dd5d765e16917c1092bacc6061b518f:/client/cmdhflegic.h diff --git a/client/cmdhflegic.h b/client/cmdhflegic.h index 1810322f..78527f23 100644 --- a/client/cmdhflegic.h +++ b/client/cmdhflegic.h @@ -1,8 +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