aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example_plugin.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-11-07 17:19:24 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-11-07 17:19:24 +0100
commitf7f3ada3350c2a0a99ed307350a230583802cfe0 (patch)
treefbe7e7b2b12cd96048a44910d91cfb6835f6e93b /doc/example_plugin.c
parent7b23afdeead5b873b3e1cfc5ab29ecbf35b8c0ac (diff)
Add very simple example plugin
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");
+}