From f7f3ada3350c2a0a99ed307350a230583802cfe0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 7 Nov 2005 17:19:24 +0100 Subject: Add very simple example plugin --- doc/example_plugin.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/example_plugin.c (limited to 'doc/example_plugin.c') 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 + +void init_plugin(void) +{ + printf("I am a BitlBee plugin!\n"); +} -- cgit v1.2.3