aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example_plugin.c
blob: 2fc320a769b445c1f70a888dbb172451b079a019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * 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 `pkg-config --cflags bitlbee`
 * cp example.so /usr/local/lib/bitlbee
 */
#include <stdio.h>
#include <bitlbee.h>

void init_plugin(void)
{
	printf("I am a BitlBee plugin!\n");
}