Last change
on this file since 84b045d was
e506d6c,
checked in by Jelmer Vernooij <jelmer@…>, at 2006-03-02T11:38:33Z
|
Install bitlbee's header files and a pkg-config file. This means
that 3rd-parties can write support for additional protocols in BitlBee.
|
-
Property mode set to
100644
|
File size:
359 bytes
|
Rev | Line | |
---|
[f7f3ada] | 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 | * |
---|
[e506d6c] | 5 | * gcc -o example.so -shared example.c `pkg-config --cflags bitlbee` |
---|
[f7f3ada] | 6 | * cp example.so /usr/local/lib/bitlbee |
---|
| 7 | */ |
---|
| 8 | #include <stdio.h> |
---|
[e506d6c] | 9 | #include <bitlbee.h> |
---|
[f7f3ada] | 10 | |
---|
| 11 | void init_plugin(void) |
---|
| 12 | { |
---|
| 13 | printf("I am a BitlBee plugin!\n"); |
---|
| 14 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.