]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripting.h
ADD: @pivipw 's changes "making lua paths".
[proxmark3-svn] / client / scripting.h
index 58e5359e7a3fc63c681d790eefb6f8c9cbc8cd0c..5b28676080a4affc5e5ea07d5348a5f9785785c7 100644 (file)
 #define SCRIPTING_H__
 
 #include <lua.h>
+#include <lualib.h>
+#include <lauxlib.h>
+#include "proxmark3.h"
+#include "usb_cmd.h"
+#include "cmdmain.h"
+#include "util.h"
+#include "nonce2key/nonce2key.h"
+#include "../common/iso15693tools.h"
+#include "iso14443crc.h"
+#include "../common/crc.h"
+#include "../common/crc16.h"
+#include "../common/crc64.h"
+#include "../common/sha1.h"
+#include "aes.h"
+#include "cmdcrc.h"
+#include "cmdhfmfhard.h"
+
+
+#define LUA_LIBRARIES_DIRECTORY        "lualibs/"
+#define LUA_SCRIPTS_DIRECTORY          "scripts/"
+#define LUA_LIBRARIES_WILDCARD                 "?.lua"
 
 /**
  * @brief set_libraries loads the core components of pm3 into the 'pm3'
@@ -18,6 +39,6 @@
  * @param L
  */
 
-void set_pm3_libraries(lua_State *L);
+int set_pm3_libraries(lua_State *L);
 
 #endif
Impressum, Datenschutz