summaryrefslogtreecommitdiffstats
path: root/player/lua.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-17 01:15:48 +0100
committerwm4 <wm4@nowhere>2013-12-17 01:15:48 +0100
commit053c743724e928ca70070f5d43193836851dd91c (patch)
treeeb86e81e79592e7da94ba351ccd42e2503706d16 /player/lua.h
parent56eafe33448780231cd2626239cac443e1cdbab4 (diff)
downloadmpv-053c743724e928ca70070f5d43193836851dd91c.tar.bz2
mpv-053c743724e928ca70070f5d43193836851dd91c.tar.xz
Rename mp_lua.c/h to lua.c/h
Diffstat (limited to 'player/lua.h')
-rw-r--r--player/lua.h14
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