doc/example_plugin.c
raw| 1 | /* |
| 2 | * This is the most simple possible BitlBee plugin. To use, compile it as |
| 3 | * a shared library and place it in the plugin directory: |
| 4 | * |
| 5 | * gcc -o example.so -shared example.c `pkg-config --cflags bitlbee` |
| 6 | * cp example.so /usr/local/lib/bitlbee |
| 7 | */ |
| 8 | #include <stdio.h> |
| 9 | #include <bitlbee.h> |
| 10 | |
| 11 | void init_plugin(void) |
| 12 | { |
| 13 | printf("I am a BitlBee plugin!\n"); |
| 14 | } |