]> git.zerfleddert.de Git - proxmark3-svn/blame - client/scripting.h
fix #532. looks at length of parameters.
[proxmark3-svn] / client / scripting.h
CommitLineData
5b760b6c 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
4197a3f6 15#define LUA_LIBRARIES_DIRECTORY "lualibs/"
16#define LUA_SCRIPTS_DIRECTORY "scripts/"
17#define LUA_LIBRARIES_WILDCARD "?.lua"
18
5b760b6c 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
f057bddb 25int set_pm3_libraries(lua_State *L);
5b760b6c 26
27#endif
Impressum, Datenschutz