private.h 592 B

12345678910111213141516171819202122232425
  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. <<<<<<< HEAD
  9. extern char *scripts_path;
  10. void l_print_error(lua_State *, const char *, const char *, int);
  11. int clish_plugin_init_lua(clish_shell_t *shell);
  12. =======
  13. void l_print_error(lua_State *, const char *, const char *, int);
  14. int clish_plugin_init_lua(clish_shell_t *shell);
  15. CLISH_HOOK_FINI(clish_plugin_lua_fini);
  16. >>>>>>> b9e9072034ce6f652f230161cea580b52cf5a9b9
  17. CLISH_PLUGIN_SYM(clish_plugin_lua_action);
  18. #endif /* _PLUGIN_H_ */