'core' library glue

This commit is contained in:
martin.holst@gmail.com 2013-05-24 21:06:57 +00:00
parent 1ef665776d
commit 5b760b6cac
2 changed files with 145 additions and 0 deletions

23
client/scripting.h Normal file
View file

@ -0,0 +1,23 @@
//-----------------------------------------------------------------------------
// Copyright (C) 2013 m h swende <martin at swende.se>
//
// 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.
//-----------------------------------------------------------------------------
// Some lua scripting glue to proxmark core.
//-----------------------------------------------------------------------------
#ifndef SCRIPTING_H__
#define SCRIPTING_H__
#include <lua.h>
/**
* @brief set_libraries loads the core components of pm3 into the 'pm3'
* namespace within the given lua_State
* @param L
*/
void set_pm3_libraries(lua_State *L);
#endif