summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/mp_lua.h
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/player/mp_lua.h')
-rw-r--r--mpvcore/player/mp_lua.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/mpvcore/player/mp_lua.h b/mpvcore/player/mp_lua.h
new file mode 100644
index 0000000000..050548e2d2
--- /dev/null
+++ b/mpvcore/player/mp_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