diff options
Diffstat (limited to 'player/lua.h')
-rw-r--r-- | player/lua.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/player/lua.h b/player/lua.h new file mode 100644 index 0000000000..050548e2d2 --- /dev/null +++ b/player/lua.h @@ -0,0 +1,14 @@ +#ifndef MP_LUA_H +#define MP_LUA_H + +#include <stdbool.h> + +struct MPContext; + +void mp_lua_init(struct MPContext *mpctx); +void mp_lua_uninit(struct MPContext *mpctx); +void mp_lua_event(struct MPContext *mpctx, const char *name, const char *arg); +void mp_lua_script_dispatch(struct MPContext *mpctx, char *script_name, + int id, char *event); + +#endif |