]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/scripting.h
fix 'hf iclass sim'
[proxmark3-svn] / client / scripting.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2013 m h swende <martin at swende.se>
3 //
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
6 // the license.
7 //-----------------------------------------------------------------------------
8 // Some lua scripting glue to proxmark core.
9 //-----------------------------------------------------------------------------
10 #ifndef SCRIPTING_H__
11 #define SCRIPTING_H__
12
13 #include <lua.h>
14
15 #define LUA_LIBRARIES_DIRECTORY "lualibs/"
16 #define LUA_SCRIPTS_DIRECTORY "scripts/"
17 #define LUA_LIBRARIES_WILDCARD "?.lua"
18
19 /**
20 * @brief set_libraries loads the core components of pm3 into the 'pm3'
21 * namespace within the given lua_State
22 * @param L
23 */
24
25 int set_pm3_libraries(lua_State *L);
26
27 #endif
Impressum, Datenschutz