aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example_plugin.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-12-15 12:55:27 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-12-15 12:55:27 +0100
commitbf02a679c61b0f030ee8f2f01698699a7775f7d5 (patch)
tree0b890c2dd7fb03aa151df76c99146a765ca41adb /doc/example_plugin.c
parent11e090b246a86deb7b882217772b90fc52d7e4f6 (diff)
parent547f9373fe4cda601e53759500d189dd580a0d78 (diff)
Merged Jelmer's pluginable tree (mainly useful for the Win32 port).
Diffstat (limited to 'doc/example_plugin.c')
-rw-r--r--doc/example_plugin.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/example_plugin.c b/doc/example_plugin.c
new file mode 100644
index 00000000..38d02260
--- /dev/null
+++ b/doc/example_plugin.c
@@ -0,0 +1,13 @@
+/*
+ * This is the most simple possible BitlBee plugin. To use, compile it as
+ * a shared library and place it in the plugin directory:
+ *
+ * gcc -o example.so -shared example.c
+ * cp example.so /usr/local/lib/bitlbee
+ */
+#include <stdio.h>
+
+void init_plugin(void)
+{
+ printf("I am a BitlBee plugin!\n");
+}