private.h 366 B

123456789101112131415161718
  1. #ifndef _PLUGIN_H_
  2. #define _PLUGIN_H_
  3. #include <clish/shell.h>
  4. #include <lua.h>
  5. #include <lualib.h>
  6. #include <lauxlib.h>
  7. #define LUA_UDATA "lua state"
  8. extern char *scripts_path;
  9. void l_print_error(lua_State *, const char *, const char *, int);
  10. int clish_plugin_init_lua(clish_shell_t *shell);
  11. CLISH_PLUGIN_SYM(clish_plugin_lua_action);
  12. #endif /* _PLUGIN_H_ */