summaryrefslogtreecommitdiffstats
path: root/src/plugins/mail-lua/mail-lua-plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/mail-lua/mail-lua-plugin.h')
-rw-r--r--src/plugins/mail-lua/mail-lua-plugin.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/mail-lua/mail-lua-plugin.h b/src/plugins/mail-lua/mail-lua-plugin.h
new file mode 100644
index 0000000..e3bfb98
--- /dev/null
+++ b/src/plugins/mail-lua/mail-lua-plugin.h
@@ -0,0 +1,14 @@
+#ifndef MAIL_LUA_PLUGIN_H
+#define MAIL_LUA_PLUGIN_H 1
+
+struct dlua_script;
+struct mail_user;
+struct module;
+
+void mail_lua_plugin_init(struct module *module);
+void mail_lua_plugin_deinit(void);
+
+bool mail_lua_plugin_get_script(struct mail_user *user,
+ struct dlua_script **script_r);
+
+#endif