X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/dcc10e5e310a9e652e698593b7ba34bacbdd2b80..a28d34f407dc172f1e5b0dc257e8fc89e67706f0:/armsrc/legicrf.h diff --git a/armsrc/legicrf.h b/armsrc/legicrf.h index 0c9e69d9..69fb442f 100644 --- a/armsrc/legicrf.h +++ b/armsrc/legicrf.h @@ -1,13 +1,22 @@ -/* - * LEGIC RF emulation public interface - * - * (c) 2009 Henryk Plötz - */ +//----------------------------------------------------------------------------- +// (c) 2009 Henryk Plötz +// +// 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. +//----------------------------------------------------------------------------- +// LEGIC RF emulation public interface +//----------------------------------------------------------------------------- -#ifndef LEGICRF_H_ -#define LEGICRF_H_ +#ifndef __LEGICRF_H +#define __LEGICRF_H -extern void LegicRfSimulate(void); -extern void LegicRfReader(void); +extern void LegicRfSimulate(int phase, int frame, int reqresp); +extern int LegicRfReader(int bytes, int offset); +extern void LegicRfWriter(int bytes, int offset); +extern void LegicRfRawWriter(int offset, int bytes); -#endif /* LEGICRF_H_ */ +int ice_legic_select_card(); +void ice_legic_setup(); + +#endif /* __LEGICRF_H */