aboutsummaryrefslogtreecommitdiff
path: root/docs/code/plugin/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'docs/code/plugin/plugin.h')
-rw-r--r--docs/code/plugin/plugin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/code/plugin/plugin.h b/docs/code/plugin/plugin.h
new file mode 100644
index 00000000..21f194e6
--- /dev/null
+++ b/docs/code/plugin/plugin.h
@@ -0,0 +1,7 @@
+#ifndef UVBOOK_PLUGIN_SYSTEM
+#define UVBOOK_PLUGIN_SYSTEM
+
+// Plugin authors should use this to register their plugins with mfp.
+void mfp_register(const char *name);
+
+#endif