diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-14 02:17:25 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-12-14 02:17:25 +0100 |
commit | 703f0f7f4622194bce8023712a3a9966be6f8827 (patch) | |
tree | 311125ae518c2b277845dc78ec62fc9553081bdf /doc/example_plugin.c | |
parent | 22bf64eab8a79352317ee190cddfeef3011aa8dc (diff) | |
parent | 568aaf7ce17a4db2dddd13f8baed02a6d2757eb6 (diff) |
Merge my pluginable branch
Diffstat (limited to 'doc/example_plugin.c')
-rw-r--r-- | doc/example_plugin.c | 13 |
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"); +} |